Skip to content
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

feat: Modifies the AWS vault implementation to update existing secrets (Backport) #407

Conversation

zub4t
Copy link
Contributor

@zub4t zub4t commented Aug 13, 2024

What this PR changes/adds

This PR updates the AWS Vault implementation to match the behavior of HashiCorp Vault. Previously, the store method in the AWS Vault implementation only created new secrets. With this update, the method now supports both creating and updating secrets, aligning it with the behavior of HashiCorp Vault.

Why it does that

This update is required because the recent addition of the Secrets Manage API introduces the capability to update secrets. As a result, the AWS Vault implementation must be updated to handle secret updates in addition to secret creation.

Further Notes

This is a backport from PR

@rafaelmag110
Copy link
Contributor

As mentioned in this discussion
eclipse-tractusx/tractusx-edc#1496

@paullatzelsperger
Copy link
Member

just curious: was this cherry-picked or backported?

…c/vault/aws/AwsSecretsManagerVaultTest.java

Co-authored-by: Paul Latzelsperger <[email protected]>
@zub4t
Copy link
Contributor Author

zub4t commented Aug 14, 2024

just curious: was this cherry-picked or backported?

It's cherry-pick. But since the target is an older version, I think the term backport can also be applied here 😅

@paullatzelsperger paullatzelsperger merged commit 4e2fa84 into eclipse-edc:bugfix/0.7.2 Aug 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants