Skip to content

On Ubuntu linux in Bash, credentials are only set after running assume twice  #208

@JoshuaWilkes

Description

@JoshuaWilkes

When running assume my-profile I get a success message

[cf-dev](ap-southeast-2) session credentials will expire 2022-08-04 11:50:47 +0800 AWST

However running env | grep AWS shows that no credentials are exported into my shell env

Running assume again for the same profile, and repeating the env check shows that credentials are exported.
Then aws commands work as expected

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