List secrets
curl --request GET \
--url https://api.rootly.com/v1/secrets \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "secrets",
"attributes": {
"name": "<string>",
"secret": "<string>",
"hashicorp_vault_mount": "<string>",
"hashicorp_vault_path": "<string>",
"hashicorp_vault_version": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
success
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/secrets \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "secrets",
"attributes": {
"name": "<string>",
"secret": "<string>",
"hashicorp_vault_mount": "<string>",
"hashicorp_vault_path": "<string>",
"hashicorp_vault_version": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}