Manage API Secrets for Service Accounts
SecretRequest, the name must be unique within the organization, maximum 32 characters, and contain only lowercase letters. The roles granted to the secret must be a subset of the roles already held by the calling user.// SecretRequest
{
"name": "my-service-account",
"roles": ["admin", "viewer"]
}
// Secret Response
{
"id": "secret-id",
"client_id": "oauth-client-id",
"client_secret": "********", // Only visible on first creation
"roles": ["admin"]
}