Skip to main content
PUT
Error

Authorizations

x-cdata-authtoken
string
header
required

A Sync user auth token. Generate one via POST /v2/users/generate-token.

Path Parameters

vault_id
string
required

Body

application/json
display_name
string
config
object

Provider configuration. For the built-in System vault, standardPatterns and encryptedPatterns update the comma-separated environment variable patterns. Both may be empty to disable environment variable imports. For the System vault, all other config fields are rejected. For external providers, sensitive fields (for example clientSecret) are encrypted at rest and returned masked (********) in responses.

Response

The updated vault.

id
string
provider_key
string

Globally unique reference key. Immutable after create.

display_name
string
type
enum<string>

Vault provider type.

Available options:
Local,
System,
AzureKeyVault
scope
enum<string>

Vault scope. Registrations use system scope.

Available options:
SYSTEM
config
object

Provider configuration. Non-sensitive fields are returned as stored; sensitive fields (for example clientSecret) are returned masked (********). Empty for the Local vault. For the built-in System vault, standardPatterns and encryptedPatterns contain comma-separated environment variable names or wildcard patterns.

created_at
string<date-time>
updated_at
string<date-time>