Skip to content

Preference stored credentials over other credential sources#1183

Merged
mtibben merged 3 commits intomasterfrom
preference-stored-creds
Mar 9, 2023
Merged

Preference stored credentials over other credential sources#1183
mtibben merged 3 commits intomasterfrom
preference-stored-creds

Conversation

@mtibben
Copy link
Copy Markdown
Member

@mtibben mtibben commented Mar 9, 2023

As suggested by @dgholz in #1181 (comment), aws-vault should prefer stored credentials over other credential sources. This would mean that if you have a profile with both stored credentials and credential_process set, aws-vault uses the stored credentials instead of executing the credential_process.

Given that stored credentials are preferenced over other config, the config validation is not necessarily accurate. It also isn't all that useful, as logging provides feedback about which credential source has been selected, and so being permissive about config is probably a better route anyway. For that reason, the strict config validation has been removed.

Fixes #1176, #1180, #1181

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.

v7.0.0 doesn't support credentials_process from shared profile when no session is active

2 participants