Create or update a secret
Creates a new secret or updates an existing secret for the specified key. Requires admin or secret management permissions.
Path Parameters |
---|
secretkey string — REQUIREDThe key for the secret to create or update. |
secretkey string — REQUIRED |
Request Body — REQUIRED The secret value to store. |
---|
string |
Responses | ||
---|---|---|
201 Secret created or updated successfully. The Location header contains the URI of the created/updated secret.
| ||
400 Bad request. Invalid secret key or content.
| ||
401 Unauthorized. Authentication required.
| ||
403 Forbidden. Insufficient permissions to create or update the secret.
| ||
409 Conflict. Secret with the given key already exists.
| ||
500 Internal server error.
|