Skip to content

Include KeyVault as configuration source by default #702

@RonnyB71

Description

@RonnyB71

Description

In order to use keyvault you first need to enable support for keyvault in the applicatio ref https://docs.altinn.studio//nb/altinn-studio/reference/configuration/secrets/. This makes the connection string to keyvault available. Then you can use the ISecretsClient or other implementations to manually connect to keyvault to get specified secrets, certificates or keys.

What we would like is to have keyvault enabled by default and as a configuration source so that you can automatically populate IOptions<> implementations as any other configuration and inject this into your code.

Additional Information

Some application owners have allready enabled keyvault as a configuration source. When we do this by default this might be breaking existing applications which means that we should do this in next major release and potentially include migration code to ease the migration for service owners.

Tasks

No response

Acceptance Criterias

  • IOptions<> implementations can be populated with values from keyvault automatically and no manual step is required in order to enable keyvault support in an app
  • Migration path from applications that allready has keyvault as a configuration source

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/user-storyUsed for issues that describes functionality for our users.status/draftStatus: When you create an issue before you have enough info to properly describe the issue.status/triage

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions