Skip to main content
POST
Error

Authorizations

x-cdata-authtoken
string
header
required

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

Body

application/json
provider_key
string
required

Unique reference key. Cannot be a reserved key (local, env).

display_name
string
required
type
enum<string>
required

Must be AzureKeyVault. Only external providers are user-creatable.

Available options:
AzureKeyVault
scope
enum<string>

Defaults to SYSTEM. Must be SYSTEM.

Available options:
SYSTEM
config
object

Provider configuration. Sensitive fields (for example clientSecret) are encrypted at rest and returned masked (********) in responses.

Response

The created 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>