Vault

List all vault secret names

GET
/api/vault

Returns the names of every secret stored in WorkOS Vault for the caller's organization. Values are never returned by the list endpoint. Requires WorkOS to be enabled on the deployment.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/vault"
{  "success": true,  "data": [    {      "name": "TWILIO_AUTH_TOKEN"    },    {      "name": "OPENAI_API_KEY"    },    {      "name": "STRIPE_SECRET"    }  ]}