Skip to content

Get API Key

POST
/enum.api.v1.ServiceAccountService/GetApiKey
object
projectId
string
id
string

OK

object
apiKey

An ApiKey is a long-lived credential belonging to a service account. The key token is returned once, when the key is created, and is not retrievable afterwards. Deleting a key revokes it immediately.

The key is scoped to its service account’s project; it carries no project_id of its own.

object
id
string
serviceAccountId
string
name
string
expiresAt

The point in time after which the key stops authenticating.

string format: date-time
createdAt
string format: date-time
status
integer format: enum