Problems loading AWS SecretsManager secrets into Config #118
-
Hello, We've been using this package for a while to load AWS Secrets Manager secrets into our config. Then obtaining values like This has worked fine in versions 2.0.0 & 3.0.0, but we recently tried 4.0.0 and this isn't working as it previously did. but in the latest version (4.0.0) it's loaded into config as The key isn't prepended with the secret name. Meaning when we're loading multiple secrets, only one set of values is in config. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think I've answered my own question by looking at the v4 PR needs to be added to each AddSystemsManager source as it no longer uses the secret name as the key prefix by default |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
I think I've answered my own question by looking at the v4 PR
configureSource.Prefix = "some-secret-name";
needs to be added to each AddSystemsManager source as it no longer uses the secret name as the key prefix by default