List secrets

The secrets of the tenant. No endpoint gives a value back.

GET /v1/tenants/{tenant}/secrets

curl -X GET "https://api.shako.dev/v1/tenants/acme/secrets" \
  -H "Authorization: Bearer $SHAKO_API_KEY"

200 (excerpt)

{
  "data": [
    {
      "name": "GH_TOKEN",
      "hosts": [
        "github.com",
        "api.github.com"
      ],
      "hint": "x9Qz",
      "updated": 1793491200
    }
  ]
}

Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: contributor or owner.

Path parameters

tenantstringrequired
The tenant's name, from GET /v1/tenants.

Response

200 with {"data": [...]}: a list of the secret object.

The errors. All the endpoints of Secrets.