Credentials
Credentials let each org supply its own provider keys and optional object storage configuration.
Endpoints
POST /v1/credentials
Store an encrypted provider credential.
Supported providers:
openaianthropicvllmllama_cppcustomobject_storage
Request fields:
providerlabelapi_key- optional
base_url
Object storage credentials
For provider = "object_storage":
api_keyholds the secret keybase_urlis a JSON string containing at least:bucketaccessKey
You can also include fields like:
regionendpointpathPrefix
GET /v1/credentials
List credentials without decrypted secrets.
DELETE /v1/credentials/:id
Deactivate a credential.
Example
bash
curl https://api.useorlo.com/v1/credentials \
-H 'Content-Type: application/json' \
-H 'X-Orlo-Org-Id: <org-uuid>' \
-d '{
"provider": "object_storage",
"label": "Org bucket",
"api_key": "<secret-access-key>",
"base_url": "{\"bucket\":\"org-docs\",\"accessKey\":\"AKIA...\",\"region\":\"us-east-1\"}"
}'