Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Aws secretsmanager add type and json key support #168

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

MouhsinElmajdouby
Copy link
Member

This PR updates the AwsJsonSecretsManagerProvider to add the required type parameter and enhance the secret extraction logic. When the secret is stored as a JSON object, an optional field_name can be used to select the desired key; if only one key exists, its value is used automatically. Additionally, when the secret is stored as plain text, it is used directly without further processing. Documentation has been updated to reflect these changes.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 16, 2025
@ting-lan-wang
Copy link
Member

Some of the tests failed. Can you please check?

@MouhsinElmajdouby
Copy link
Member Author

Some of the tests failed. Can you please check?

I’ve looked into the failures, and they don’t seem to be related to the changes in this PR. They’re coming from existing tests in the Azure provider and are also failing on the main branch.

@ting-lan-wang
Copy link
Member

@MouhsinElmajdouby It seems to be related to the credential TEST_AZURE_CLIENT_SECRET which was expired. I've asked the admin to update the value and now the tests that failed were related to the Harshicorp Provider. But I agree that either is not tied to this PR.

@jeandelavarene
Copy link
Member

@MouhsinElmajdouby now that Ting's PR has been merged, can you please refresh your branch and rerun the tests?

@MouhsinElmajdouby
Copy link
Member Author

@MouhsinElmajdouby now that Ting's PR has been merged, can you please refresh your branch and rerun the tests?

Tests passed after merging main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants