-
Notifications
You must be signed in to change notification settings - Fork 7
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
config.getSecret
shorthand config key name is broken
#205
Comments
@pawelprazak is |
This is a great question, we need to take a closer look at the upstream, preferably by porting more tests. |
Should be fixed by #287, will re-test |
@prolativ I've double checked with the upstream docs and IIUC, the namespac-ed string version should work the same as explicitly namespaced. |
- build on #287 to improve Config ergonomy - add Output[Option[A]].orElse and .getOrElse - add unit tests for Config - add integration test for Config - add Scaladoc for Config and other critical API surfaces Fixes #204 Fixes #205 Co-authored-by: Michał Pałka <prolativus@gmail.com> Co-authored-by: Łukasz Biały <lbialy@virtuslab.com>
- build on #287 to improve Config ergonomy - add Output[Option[A]].orElse and .getOrElse - add unit tests for Config - add integration test for Config - add Scaladoc for Config and other critical API surfaces Fixes #204 Fixes #205 Co-authored-by: Michał Pałka <prolativus@gmail.com> Co-authored-by: Łukasz Biały <lbialy@virtuslab.com>
- build on #287 to improve Config ergonomy - add Output[Option[A]].orElse and .getOrElse - add unit tests for Config - add integration test for Config - add Scaladoc for Config and other critical API surfaces Fixes #204 Fixes #205 Co-authored-by: Michał Pałka <prolativus@gmail.com> Co-authored-by: Łukasz Biały <lbialy@virtuslab.com>
- build on #287 to improve Config ergonomy - add Output[Option[A]].orElse and .getOrElse - add unit tests for Config - add integration test for Config - add Scaladoc for Config and other critical API surfaces Fixes #204 Fixes #205 Co-authored-by: Michał Pałka <prolativus@gmail.com> Co-authored-by: Łukasz Biały <lbialy@virtuslab.com>
The shorthand config key name is broken for secrets, this returns empty output:
val mySecret = config.getSecret("mySecret")
and when the key has the explicit namespace it works as expected:
val mySecret = config.getSecret("aws-secrets-manager:mySecret")
Relates to #204
The text was updated successfully, but these errors were encountered: