Skip to content

Add config for setting max configurable OIDC token lifetime buildkite-agent #3793

@krishnakpandian

Description

@krishnakpandian

Is your feature request related to a problem? Please describe.
Currently, there is no way to configure the maximum OIDC token lifetime at the agent level. This means teams that require shorter-lived tokens for security compliance must trust client to not set high token lifetime, which may not align with their organization's security policies.

Describe the solution you'd like
Allow Buildkite agent allows operators to set the maximum allowable OIDC token lifetime at the agent level. This would let platform teams enforce an upper bound on token lifetimes across all pipelines running on that agent, regardless of what individual pipeline steps request. This also reduces the risk if tokens are leaked that they are bounded to what the agent security settings are.

Describe alternatives you've considered
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions