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

Inline command invocation with weep credentials #24

Open
patricksanders opened this issue Dec 4, 2020 · 0 comments · May be fixed by #36
Open

Inline command invocation with weep credentials #24

patricksanders opened this issue Dec 4, 2020 · 0 comments · May be fixed by #36
Labels
enhancement New feature or request

Comments

@patricksanders
Copy link
Contributor

Add a command to let users call a command using the credentials provided by weep.

Example usage:

# this command would get credentials for test_role then call `aws sts get-caller-identity` 
# with the credentials set as environment variables
weep cmd test_role aws sts get-caller-identity

# this command would get credentials for test_role, get assume role credentials for other_role,
# then call `aws sts get-caller-identity` with the credentials set as environment variables
weep cmd test_role --assume-role arn:aws:iam::123456789012:role/other_role aws sts get-caller-identity
@patricksanders patricksanders added the enhancement New feature or request label Dec 4, 2020
@patricksanders patricksanders linked a pull request Dec 31, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant