-
Notifications
You must be signed in to change notification settings - Fork 101
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
Feature Request: Automatically populate [Default] with assumed profile #624
Comments
According to the docs it looks like the Currently for me, if I set the setting to true, it's writing to the config file but not as So I Think something is a miss in the code. Hoping eyes can get on this or maybe I can take a stab at it. |
Thanks for verifying I'm not crazy 😄 The way I read the documentation for export, though, is it will simply populate with the profile name. Which, maybe some people want that or that's just how it's always been so I personally wouldn't change that behavior. I was going to suggest a So yes... absolutely a feature request to let me populate any profile as [Default] if/when desired. |
@discotimetraveler you're definitely not crazy.
Hopefully, there's some clarity that comes out of this issue. |
I've never had to provide the |
My issue stems from my workflow really. I run
Can you clarify what the negative effect is here? I'd like to be more educated on the "why" Although I think I found a work around for this using Zsh/Oh-My-Zsh coupled with the |
I mostly run multiple terminal sessions, using different assumed roles in each. I do this for testing the effects of changes to infrastructure-code that's used in multiple accounts, as well as administration of those accounts. I work for a cloud consultant company. I'm running ZSH with Oh-My-Zsh and StarShip on macOS, with iTerm2 as terminal application, for what it's worth. Having the option to define default behaviour to (not) write the profile settings to |
@IskanderNovena I'm always amazed at the different workflows. I work for a team that just manages multiple AWS Accounts within a single organization. Thank you for the clarity though, that makes sense from a "how is this tool being used perspective" I'm going to DEFINITELY checkout Starship though, thank you for that :) |
I asked in the Slack channel how people deal with this and I've searched here, I feel like I have to be missing something since I can't figure out how everyone is using this tool without this functionality.
There needs to be a way to automatically populate [Default] profile in
.aws/credentials
so that I do not have to run aws cli commands with --profile.Today if I have to do any extensive aws cli work I manually edit
.aws/credentials
to populate [Default] with my current profile credentials. If there is already a way to do this please let me know.Thanks
The text was updated successfully, but these errors were encountered: