Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple Key Vaults #462

Open
MT-Jacobs opened this issue Apr 18, 2023 · 0 comments
Open

Support multiple Key Vaults #462

MT-Jacobs opened this issue Apr 18, 2023 · 0 comments
Labels
type: enhancement New feature or request

Comments

@MT-Jacobs
Copy link

Feature description

Per the code, currently, only a single Key Vault can be connected to at once:

https://github.com/micronaut-projects/micronaut-azure/blob/a6924d9/azure-secret-manager/src/main/java/io/micronaut/azure/secretmanager/configuration/AzureKeyVaultConfigurationProperties.java#L27-L48

For most cases, this is great! However, it's possible to have cases where one key vault is used for environment-specific secrets and another is used for more common, shared secrets (think things like 3rd party API keys or auth configuration that might be shared by all nonprod environments, or other configuration that might be shared by several different applications).

Thinking on this, I'd imagine the biggest problem to solve here would involve resolving conflicts; if two Key Vaults have the same secret key, you probably need a way to signify which one takes precedence or otherwise nest the secrets under the key vault's base name.

@sdelamo sdelamo added the type: enhancement New feature or request label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants