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 | ||
|---|---|---|
201Secret created or updated successfully. The Location header contains the URI of the created/updated secret.
| ||
400Bad request. Invalid secret key or content.
| ||
401Unauthorized. Authentication required.
| ||
403Forbidden. Insufficient permissions to create or update the secret.
| ||
409Conflict. Secret with the given key already exists.
| ||
500Internal server error.
|