Skip to content

Unset tokens before renew. #14

Description

@pablopoo

The tokens must be cleared after the session expired, so they can be renewed again.

unset AWS_SESSION_TOKEN
unset AWS_ACCESS_KEY_ID
unset AWS_SECRET_ACCESS_KEY

if not, the script will try to get the tokens with the expired session:

An error occurred (ExpiredToken) when calling the AssumeRole operation: The security token included in the request is expired

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions