How to read secrets from AWS Secret Manager at a specific path #8458
Unanswered
srasane-hbo
asked this question in
Q&A
Replies: 2 comments 2 replies
-
micronaut-projects/micronaut-aws#1481 might help |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have secrets store at a specific path such as
/secrets/myApp/
on AWS secret manager.I referred this guide and used micronaut’s secret manager dependency,
I have config-client enabled in bootstrap.yml
From the logs, its trying to read secrets from /config/
{"@timestamp":"2022-12-01T23:41:30.057Z","message":"zero secrets for prefix: /config/myApp/","class":"io.micronaut.aws.secretsmanager.SecretsManagerKeyValueFetcher","thread":"main","trace":"TRACE"}
Based on this, https://micronaut-projects.github.io/micronaut-aws/latest/guide/configurationreference.html#io.micronaut.aws.distributedconfiguration.AwsDistributedConfigurationProperties , it seems like the custom prefix cannot to be set, is there a way to read secrets from a specific path?
Beta Was this translation helpful? Give feedback.
All reactions