Create Credential
Create Credential through the OMA API.
?beta=true.Authorizations
OMA workspace API key.
Path Parameters
Path parameter vault_id
Query Parameters
Selects the beta API contract for this endpoint. Must be true.
true Body
Authentication configuration for the credential.
- Option 1
- Option 2
- Option 3
Human-readable name for the credential. Up to 255 characters.
255"Example credential"
Arbitrary key-value metadata to attach to the credential. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.
Response
Successful response (OK)
A credential stored in a vault. Sensitive fields are never returned in responses.
vault_credential "vault_credential"
Unique identifier for the credential.
"vcrd_011CZkZEMt8gZan2iYOQfSkw"
Identifier of the vault this credential belongs to.
"vlt_011CZkZDLs7fYzm1hXNPeRjv"
Arbitrary key-value metadata attached to the credential.
A timestamp in RFC 3339 format
"2026-03-15T10:00:00Z"
A timestamp in RFC 3339 format
"2026-03-15T10:00:00Z"
When the credential was archived. Null if not archived.
null
Authentication configuration for this credential.
- Option 1
- Option 2
- Option 3
Human-readable name for the credential.
"Example credential"