Skip to content

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

@igr

Description

@igr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions