Update secret resource
PUT/nevisadmin/api/v1/inventories/:key/secret-resources/:secretResourceId
Required permission: MODIFY_INVENTORY on the inventory, or higher scope
Required permission: SUPER_ADMIN (If inventory modifications are restricted.)
Update the content of an inventory secret resource (file).
Known limitations: Rollback deployment will use the new secret value. Upload with a new file name won't update the reference in the inventory. The file name will be out-dated in inv-res-secret://<id>#<fileName>.
Request
Responses
- 200
- 400
- 403
- 404
Success
Missing or invalid request body
Insufficient permissions.
Inventory not found