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

Fix: credential_process to merge .aws/config instead of .aws/credentials into generated output #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikansoro
Copy link
Contributor

When using credential_process --generate, make use of credential_process.destinationConfig instead of the file.destination variable to determine a config file to open/merge from. This also syncs up the -o flag (which is bound to credential_process.destinationConfig) to read and output to the same filepath.

Currently, running weep credential_process --generate will read in ~/.aws/credentials, mux in any new profile names, and overwrite ~/.aws/config entirely, instead of reading and merging with an existing ~/.aws/config file.

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.

2 participants