Update Secret

View as Markdown
Update one vault secret in place. Use this to rotate a password, value, TOTP seed, or metadata without reading the existing secret value first.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

keystringRequired

Request

This endpoint expects an object.
labelstring or nullOptional
notesstring or nullOptional
originPatternslist of strings or nullOptional
originslist of strings or nullOptional
passwordstringOptional
totpSecretstring or nullOptional
usernamestringOptional
valuestringOptional

Response

OK
hasTotpboolean
keystringformat: "^[\[email protected]]+(\/[\[email protected]]+)*$"1-256 characters
typeenum
createdAtstring
labelstring
originPatternslist of strings
originslist of strings
updatedAtstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error