Secrets

Pipeline secrets

get

Secrets from a pipeline.

Authorizations
Path parameters
pipelineIDstring · uuidRequired
Query parameters
lastintegerOptional

Last secrets.

Responses
200
OK
application/json
get
GET /v1/aggregator_pipelines/{pipelineID}/secrets HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "key": "mysecret",
    "value": "Ynl0ZXM=",
    "createdAt": "2025-06-27T19:03:05.687Z",
    "updatedAt": "2025-06-27T19:03:05.687Z"
  }
]

Create pipeline secret

post

Create secret within a pipeline. The given name is unique within the pipeline. These secrets can be referenced by their name within a fluentbit configuration file like so {{secrets.thename}}. Use them to hide sensible values from your config file.

Authorizations
Path parameters
pipelineIDstring · uuidRequired
Body

Create pipeline secret request body.

keystringRequiredExample: newsecret
valuestring · byteRequired
Responses
201
Created
application/json
post
POST /v1/aggregator_pipelines/{pipelineID}/secrets HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "key": "newsecret",
  "value": "Ynl0ZXM="
}
201

Created

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "createdAt": "2025-06-27T19:03:05.687Z"
}