Skip to main content

CreateServiceAccountAccessTokenInput

Create a scoped, time-limited access token for the authenticated service account.

input CreateServiceAccountAccessTokenInput {
expiresInMinutes: Int
name: String!
scopes: [String!]!
}

Fields

CreateServiceAccountAccessTokenInput.expiresInMinutes ● Int scalar {#expires-in-minutes}

How many minutes until this token expires. Defaults to 60 (1 hour). Maximum 5,256,000 minutes (10 years).

CreateServiceAccountAccessTokenInput.name ● String! non-null scalar {#name}

A label to identify this token (e.g., 'CI deploy key')

CreateServiceAccountAccessTokenInput.scopes ● [String!]! non-null scalar {#scopes}

Permission scopes. At least one required. Currently only ["*"] (full access) is supported.

Member Of

createServiceAccountAccessToken mutation