cURL
curl --request PUT \ --url https://hub.griff.services/secrets/{name} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "value": "<string>", "environment": "default" } '
{ "data": { "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Create or update a secret by name. Secret value is stored in the configured provider (e.g. AWS Secrets Manager).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response
Show child attributes