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

Support creating AWS profile named according to the AWS account alias / number #293

Open
nimrodkor opened this issue Apr 13, 2021 · 0 comments · Fixed by acoppolawb/gimme-aws-creds#2 · May be fixed by #294 or WarnerMedia/gimme-aws-creds#14

Comments

@nimrodkor
Copy link

We have a few AWS accounts in our org, and want to be able to assume role into each one of them. The name of the role is long when you use the --profile flag for every command, so we thought it would be easier to use just the account alias / number instead of the acc-role option which gives us a long result.

Expected Behavior

after setting the cred_profile parameter to acc, and the account alias is acme3:

$ gimme-aws-creds --profile acme
Saving arn:aws:iam::000000000000:role/dev as acme3
Written profile acme3 to /path/to/creds

Current Behavior

This isn't possible currently

Possible Solution

Add another option to this flag

PR incoming :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant