POST
/
v1
/
secrets
curl --request POST \
  --url https://api.rootly.com/v1/secrets \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "249707cb-ed39-45c8-a3f7-a900c4eab4ee",
    "type": "secrets",
    "attributes": {
      "kind": "built_in",
      "name": "ysifcjmhvu",
      "secret": "[REDACTED]",
      "hashicorp_vault_mount": "secret",
      "hashicorp_vault_path": null,
      "hashicorp_vault_version": 0,
      "created_at": "2025-03-07T00:08:59.914-08:00",
      "updated_at": "2025-03-07T00:08:59.914-08:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
secret created
data
object
required