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

Update aws sdk deps #143

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Update aws sdk deps #143

merged 1 commit into from
Nov 26, 2024

Conversation

louisruch
Copy link
Contributor

This PR updates awsulti deps

The AWS SDK use to attempt load the default profile and ignore a not exist error, regardless of the SharedConfigProfile option being provided.

However between v1.18.33 and now the SDK no longer does this, if a profile is explicitly set via the SharedConfigProfile option or an env var, it will fail if the profile does not exist, even if this profile is default. See https://github.com/aws/aws-sdk-go-v2/blob/main/config/config.go#L216. It will however still attempt to load the default profile without being prompted to do so.

The change to go-secure-stdlib here means that when calling GenerateCredentialChain if the caller does not provide a profile, and they are loading the 'default' profile we will no longer populate Profile field in the go-secure-stdlib CredentialConfig. However it should be said the previously we would set the Profile filed to default even if the default profile was not used and does not exist.

@jefferai jefferai merged commit 48acf69 into main Nov 26, 2024
22 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.

3 participants