Update secret
PUT/nevisadmin/api/v1/inventories/:key/secrets/:secretId
Required permission: MODIFY_INVENTORY on the inventory, or higher scope
Required permission: SUPER_ADMIN (If inventory modifications are restricted.)
Update the value and description of an existing inventory secret.
Known limitations: Rollback deployment will use the new secret value.
Request
Responses
- 200
- 400
- 403
- 404
- 409
Success
Invalid inventory key, missing request body, or attempt to update a Kubernetes secret for a non-Kubernetes inventory
Insufficient permissions.
Inventory or existing secret not found
Secret with the same ID already exists