v2
latestOpenAPI 3.0.42026-08-088161,1253.1 MBUniverses
Update Secret
Updates an existing secret.
Only the owner of the universe can update secrets. For group-owned universes, only the group owner or authorized members can update secrets.
Only the secret content, key_id, and domain can be updated - the secret ID cannot be changed.
To encrypt the updated secret:
- Get the current public key using the GetPublicKey endpoint
- Encrypt your new secret content using LibSodium sealed box
- Base64 encode the encrypted content
Include the key_id from the public key response in the request.
For an example, see the Secrets store guide.
patch/cloud/v2/universes/{universeId}/secrets/{secretId}
Path parameters
universeIdinteger required
The universe ID
secretIdstring required
The ID of the secret to update
Request body
Response
OK