Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Polish Secrets Manager Integration #743

Merged
merged 15 commits into from
Dec 15, 2020
Merged

Polish Secrets Manager Integration #743

merged 15 commits into from
Dec 15, 2020

Conversation

maciejwalkowiak
Copy link
Contributor

@maciejwalkowiak maciejwalkowiak commented Dec 8, 2020

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Correct handling optional config data and failFast for old type of integration.

Fixes logging in AwsSecretsManagerConfigDataLocationResolver.

Handles the case when AwsSecretsManagerPropertySources returnsnull.

💡 Motivation and Context

Follow up to #721.

💚 How did you test it?

Unit & integration tests.

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • I updated reference documentation to reflect the change
  • All tests passing
  • No breaking changes

eddumelendez and others added 13 commits November 13, 2020 00:39
In `spring-boot` 2.4, `Volume Mounted Config Directory Trees` was
added. This commit introduces the prefix `aws-secretsmanager:` which
will resolve the values given the configuration properties supported
by secrets manager integration. Also, if keys are added after the
prefix then just these will be resolved.

Use: `aws-secretsmanager:` or `aws-secretsmanager:my-secret-key` or
`aws-secretsmanager:my-secret-key;my-anoter-secret-key`

Closes gh-655
…org/springframework/cloud/aws/autoconfigure/secretsmanager/AwsSecretsManagerConfigDataLocationResolver.java

Co-authored-by: Maciej Walkowiak <walkowiak.maciej@yahoo.com>
- fixed handling failFast and optional flag
- added logs
- added tests
@github-actions github-actions bot added component: secrets-manager Secrets Manager integration related issue type: dependency-upgrade A dependency upgrade type: documentation A documentation update labels Dec 8, 2020
Copy link
Contributor

@eddumelendez eddumelendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still see changes at docs/src/main/asciidoc/_configprops.adoc which I think they are not related to this PR.

@maciejwalkowiak
Copy link
Contributor Author

That's me losing the battle with git and intellij

@maciejwalkowiak maciejwalkowiak merged commit 908b029 into 2.3.x Dec 15, 2020
@maciejwalkowiak maciejwalkowiak deleted the gh-655-polish2 branch December 15, 2020 19:12
maciejwalkowiak added a commit to awspring/spring-cloud-aws that referenced this pull request Dec 19, 2020
- fixed handling failFast and optional flag
- added logs
- added tests
juho9000 pushed a commit to juho9000/spring-cloud-aws that referenced this pull request Apr 29, 2021
- fixed handling failFast and optional flag
- added logs
- added tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: secrets-manager Secrets Manager integration related issue type: dependency-upgrade A dependency upgrade type: documentation A documentation update
Development

Successfully merging this pull request may close these issues.

2 participants