circle-exclamation
This documentation is currently under development. Certain sections are not yet complete and will be added shortly.

Secret

List all secret keys

get
/api/{tenantId}/secrets

Returns keys of all secrets stored for the tenant. Does not return values for security.

Authorization

Requires Secret.Read scope.

Security Note

Only key names are returned, not the actual secret values. Use GET /{key} to retrieve individual secret values.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Responses
chevron-right
200

List of all secret keys

string[]Optional
get
/api/{tenantId}/secrets

Retrieve secret value

get
/api/{tenantId}/secrets/{key}

Returns a secret value by key.

Authorization

Requires Secret.Read scope.

Security Considerations

  • Values are transmitted over HTTPS only

  • Expired secrets return 404

  • Consider short-lived tokens for highly sensitive secrets

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
keystringRequired

Secret key.

tenantIdstringRequired
Responses
chevron-right
200

Secret value retrieved

stringOptional
get
/api/{tenantId}/secrets/{key}

Create or update secret

put
/api/{tenantId}/secrets/{key}

Stores or replaces a secret value with optional validity period.

Authorization: Requires Secret.Write scope.

Key Format: Alphanumeric characters, hyphens, and underscores only; case-sensitive.

Validity Period: ExpiresOn and NotBefore are optional; omit both for permanent secrets. To rotate, create new secret with new key and delete old one after grace period.

Use Cases: API keys, tokens, service credentials, encryption keys, third-party integration secrets.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
keystringRequired

Secret key (validated for allowed characters).

tenantIdstringRequired
Body
valuestring · nullableRequired

Secret value to store.

Responses
put
/api/{tenantId}/secrets/{key}

No content

Delete a secret.

delete
/api/{tenantId}/secrets/{key}

Removes a secret from the secret store. The secret key must contain only allowed characters. Once deleted, the secret cannot be retrieved.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
keystringRequired

Secret key (validated for allowed characters).

tenantIdstringRequired
Responses
delete
/api/{tenantId}/secrets/{key}

No content

Last updated