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

[Doc] Distributed configuration with SecretsManager #1920

Open
chjourdain opened this issue Oct 17, 2023 · 1 comment
Open

[Doc] Distributed configuration with SecretsManager #1920

chjourdain opened this issue Oct 17, 2023 · 1 comment

Comments

@chjourdain
Copy link

Issue description

Hello,

While using micronaut 3, with a distributed configuration on secretManager I declared the following bootstrap.yml

micronaut:
  config-client:
    enabled: true
  application:
    name: someApplication
aws:
  secretsmanager:
    secrets:
      - secret-name: rds

Moving to micronaut 4, I had to add a 'client' wrapper, or it refused to work

micronaut:
  config-client:
    enabled: true
  application:
    name: someApplication
aws:
  client:
    secretsmanager:
      secrets:
        - secret-name: rds

The documentation for secretManager does not mention it whereas every other item do ParameterStore_documentation

Version

Latest with AWS 4.0.3

@sdelamo
Copy link
Contributor

sdelamo commented Feb 1, 2024

@chjourdain the configuration seems to still be aws.secretsmanager.secrets[0].secrets-name aws.secretsmanager.secrets[0].prefix. See: https://github.com/micronaut-projects/micronaut-aws/blob/master/aws-secretsmanager/src/main/java/io/micronaut/aws/secretsmanager/SecretsManagerConfigurationProperties.java

How, can I reproduce the error you are describing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants