-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
Add enabled
flag to Secrets Manager integration.
#1009
Conversation
enabled
flag to Secrets Manager integration.
@MatejNedic @tomazfernandes up for a review. Same approach will be used for Parameter Store |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
return new ConfigData(Collections.singletonList(propertySource)); | ||
// resource is disabled if secrets manager integration is disabled via | ||
// spring.cloud.aws.secretsmanager.enabled=false | ||
if (resource.isEnabled()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would extract everything under if block in new method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not a fan of private methods. Not critical, merging as it is.
Fixes #1005