Skip to content

Inline command invocation with weep credentials #24

@patricksanders

Description

@patricksanders

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions