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

weep export to use the profile name instead of ARN #123

Open
igr opened this issue Sep 8, 2022 · 0 comments
Open

weep export to use the profile name instead of ARN #123

igr opened this issue Sep 8, 2022 · 0 comments

Comments

@igr
Copy link

igr commented Sep 8, 2022

Look at the following example:

aws --profile foo sts get-caller-identity
eval $(weep export arn:aws:iam::123:role/PowerUser)

It would be great if we could use the profile name for weep instead of the ARN. This information is stored in ~/.aws/config, it is easy to parse (configparser style).

The usage could look like:

weep export foo

or, better

weep export --profile foo
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

No branches or pull requests

1 participant