Skip to main content

ServiceAccountWithSecret

A service account with its secret token included.

This type is only returned by the createServiceAccount mutation. The secret field is the credential used for API authentication and cannot be retrieved again after creation. Store it securely (e.g., in a secrets manager or CI/CD variable) before navigating away.

type ServiceAccountWithSecret {
id: ID!
name: String!
description: String
secret: String!
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

ServiceAccountWithSecret.id ● ID! non-null scalar {#id}

Unique identifier for this service account.

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

Human-readable name displayed in the UI, logs, and audit trail.

ServiceAccountWithSecret.description ● String scalar {#description}

Optional text explaining what this service account is used for.

ServiceAccountWithSecret.secret ● String! non-null scalar {#secret}

The secret credential for API authentication. Only returned once at creation time — store it immediately in a secure location.

ServiceAccountWithSecret.createdAt ● DateTime! non-null scalar {#created-at}

When this service account was created (UTC).

ServiceAccountWithSecret.updatedAt ● DateTime! non-null scalar {#updated-at}

When this service account was last modified (UTC).

Member Of

ServiceAccountWithSecretPayload object