Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ambient-code:auto-fixAmber agent: automated low-risk fixes (formatting, linting)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions