Vault Keys

Update Primary Vault Key

put/api/v1/vault/keys/primary

Request body

idstring uuid required
wrapped_org_encryption_keystring required

AES-256-GCM ciphertext wrapping the org encryption key (base64)

auth_hashstring required

SHA-256(newMasterKey) hex digest for the new primary key

current_auth_hashstring nullable

Stored auth hash of the current primary vault key

recovery_auth_hashstring nullable

Stored auth hash of a recovery code

Response

Successful Response

idstring uuid required
key_type'primary' | 'recovery' required
created_bystring nullable required
invalidated_atstring date-time nullable required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this endpoint across all 1 revision of this API.