Last updated 2 months ago
Was this helpful?
List available secrets
The type of the secret
GET /v1/auth/secrets HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Accept: */*
A successful response.
{ "secrets": [ { "id": "s3-secret", "secretType": "s3", "expiresAt": "2025-12-29T18:02:27.140Z", "accessKey": "AKIAIOSFODNN7EXAMPLE", "params": { "ANY_ADDITIONAL_PROPERTY": "text" }, "name": "My S3 Secret" } ] }
Remove a secret
The ID of the secret
DELETE /v1/auth/secrets/{secretType}/{id} HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Accept: */*
{ "ok": true, "requestId": "text", "message": "text", "error": { "code": 1, "message": "text", "description": "text" } }
Save a secret for data sources/destinations usage
Your data source's secret key.
wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
POST /v1/auth/secrets HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 242 { "secret": { "id": "s3-secret", "secretType": "s3", "expiresAt": "2025-12-29T18:02:27.140Z", "accessKey": "AKIAIOSFODNN7EXAMPLE", "params": { "ANY_ADDITIONAL_PROPERTY": "text" }, "name": "My S3 Secret" }, "secretKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" }