Skip to main content
POST
Create a credential

Headers

idempotency-key
string

Optional Idempotency-Key header for safe retries

Required string length: 1 - 128
Pattern: ^\S[\s\S]*\S$|^\S$|^$
checkfu-credential-format
enum<string>

Credential response format. The default bearer format represents an exact URL with bearer authorization. Request scoped for the complete authorization configuration.

Available options:
bearer,
scoped

Path Parameters

vault_id
string
required

Vault ID

Minimum string length: 1

Body

application/json
auth
object
required

The credential's fixed targets, send rule, and token

display_name
string | null

Human-readable credential name

Required string length: 1 - 255

Response

VaultCredential

id
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
vault_credential
vault_id
string
required
Minimum string length: 1
auth
object
required
display_name
string | null
required
custody
enum<string>
required

Where the secret stands: storing until its storage confirms the secret, held while the credential is active, erasing once it is archived or deleted, erased once its storage confirmed the secret is gone

Available options:
storing,
held,
erasing,
erased
created_at
string
required
updated_at
string
required
archived_at
string | null
required