Create a storage credential
Stores a BYO storage credential (Google service account or Azure app). The secret is stored but never returned; the response is redacted. Validates the secret shape per kind (422 on bad shape). Requires organization:manage.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Request
This endpoint expects an object.
kind
Allowed values:
label
credential
Response
The created credential (secret redacted).
credential
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error