Authorizations
Bearer token with Platform JWT token or API Key.
Body
application/json
Response
Created.
curl --request POST \
  --url https://api.revong.com/api/v1/secrets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "category": "<string>",
  "desc": "<string>",
  "secret": "<string>",
  "actDate": "2023-11-07T05:31:56Z",
  "active": true
}'ROLES: SECRET_WRITE,SECRET_ADMIN USER: true SERVICE ACCOUNT: true
curl --request POST \
  --url https://api.revong.com/api/v1/secrets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "category": "<string>",
  "desc": "<string>",
  "secret": "<string>",
  "actDate": "2023-11-07T05:31:56Z",
  "active": true
}'Bearer token with Platform JWT token or API Key.
Created.