Skip to content

Access keys created with "No Expiration" produce a token that expires after 1 hour #1124

@tiwillia

Description

@tiwillia

Selecting "No expiration" when creating an access key via the UI produces a token that expires after 1 hour.

The root cause appears to be that the Kubernetes TokenRequest API defaults to 1h expiration when ExpirationSeconds is omitted from the TokenRequestSpec. It seems the ServiceAccountToken would have to be used instead as the TokenRequest API inherently (and purposefully) does not allow tokens that aren't time-bound.

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