Skip to content

Update aws sdk deps#143

Merged
jefferai merged 1 commit intomainfrom
louis-deps
Nov 26, 2024
Merged

Update aws sdk deps#143
jefferai merged 1 commit intomainfrom
louis-deps

Conversation

@louisruch
Copy link
Copy Markdown
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.

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