Skip to content

Cache MFA via GetSessionToken #1

@nathan-muir

Description

@nathan-muir

Problem

AssumeRole only provides 60min credentials, that aren't refreshable if MFA is used.

Proposed Solution

Instead of directly using AssumeRole - we should perform MFA via GetSessionToken beforehand.

Then, we can cache the MFA session for up to 12 hours (instead of 60mins). Which is useful if opening several tabs.

This also makes AssumeRole refreshable, allowing long running commands.

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