Secrets
SecretsResource
Methods
Create an account-level secret.
The secret value is stored in the cloud provider's secret store. SGP only stores metadata (key name, description, audit info). The value is never returned by any API. Returns 409 if a secret with the same key already exists.
Secret name (e.g. openai-api-key). Must be lowercase alphanumeric with hyphens (no dots or underscores), so it maps 1:1 to a valid secret name on every cloud backend (AWS / Azure Key Vault / GCP Secret Manager).
The secret value to store
Optional human-readable description
The unique identifier of the entity.
The ID of the account that owns the given entity.
Full path in the cloud secret store.
The date and time when the entity was created in ISO format.
The identity that created the entity.
Secret name, e.g. OPENAI_API_KEY.
Optional human-readable description of the secret.
Timestamp of last update.
User who last updated the secret.
List secret metadata for the account. Values are never returned.
Get a single secret's metadata by ID. The value is never returned.
Update an existing secret's description and/or value.
If value is provided, the cloud provider secret is updated. The secret value is never returned by any API.
Delete a secret from both the cloud provider and SGP metadata.
Domain types
API response model for a secret. Never includes the secret value.