Secrets
Save a secret for data sources/destinations usage
Your data source's secret key.
wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
A successful response.
Returned when the users sends a malformed request.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
Returned when an error on the server occurred.
Returned when the resource is temporarily unavailable.
An unexpected error response.
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"
}
{
"ok": false,
"requestId": "xyz-123",
"message": "Request failed",
"error": {
"code": 404,
"message": "Not Found",
"description": "The requested resource was not found"
}
}
List available secrets
The type of the secret
A successful response.
Returned when the users sends a malformed request.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
Returned when an error on the server occurred.
Returned when the resource is temporarily unavailable.
An unexpected error response.
GET /v1/auth/secrets HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
"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 type of the secret
The ID of the secret
A successful response.
Returned when the users sends a malformed request.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
Returned when an error on the server occurred.
Returned when the resource is temporarily unavailable.
An unexpected error response.
DELETE /v1/auth/secrets/{secretType}/{id} HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
"ok": false,
"requestId": "xyz-123",
"message": "Request failed",
"error": {
"code": 404,
"message": "Not Found",
"description": "The requested resource was not found"
}
}
Last updated
Was this helpful?