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

Preference stored credentials over other credential sources #1183

Merged
merged 3 commits into from
Mar 9, 2023

Conversation

mtibben
Copy link
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