Skip to main content
POST /api/v1/storagecredentials Register a credential the workspace can use to read customer storage.

Access

Request a workspace OAuth token for the workspace that owns the resource. If your workspace uses OAuth scopes for API access, request query_engine.storage_credentials:create. If your admin confirms that workspace permissions are active for management API calls, omit the scope field for this call.

Request

Body: name, cloudProvider and the matching configuration. The example uses an AWS role. Replace the role ARN with the role set up for this workspace. Content type: application/json.

Body fields

Example request

Save the JSON request above as request.json. Set WORKSPACE_URL to the same HTTPS workspace origin and ACCESS_TOKEN to the access token from that workspace.

Response

HTTP 201. Content type: application/json. Example response (selected fields and sample values):
The message field contains text from your workspace. The example uses a placeholder for that text. Availability depends on your workspace release and enabled features. Keep sensitive inputs in your secret manager. Do not add real keys to a guide or support ticket.

Troubleshooting

For 401, check the workspace URL and token expiry. For 403, ask your admin to check the machine client’s access to this operation and resource. In a scope-based workspace, also check the scope on the token. Troubleshoot the token or request. Workspace management guide
Last modified on December 2, 2026