Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

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

Closed
mikansoro wants to merge 1 commit intoNetflix:masterfrom
foursquare:fix/prevent-profile-generation-overwriting-existing-configs
Closed

Fix: credential_process to merge .aws/config instead of .aws/credentials into generated output#124
mikansoro wants to merge 1 commit intoNetflix:masterfrom
foursquare:fix/prevent-profile-generation-overwriting-existing-configs

Conversation

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

@jaydhulia jaydhulia closed this Mar 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants