Skip to main content
POST
Update a credential

Headers

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
credential_id
string
required

Credential ID

Minimum string length: 1

Body

application/json
token
string<password>
write-only

visible ASCII characters, with no spaces or line breaks

Required string length: 8 - 16384
Pattern: ^[!-~]+$
display_name
string | null

Updated credential name, or null to clear it

Required string length: 1 - 255
auth
object

Earlier form of a bearer token update

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