{ "opencollection": "1.0.0", "info": { "name": "Calyptia Cloud agent pipeline_secret API", "version": "1.0" }, "items": [ { "info": { "name": "pipeline_secret", "type": "folder" }, "items": [ { "info": { "name": "Pipeline secrets", "type": "http" }, "http": { "method": "GET", "url": "https://cloud-api.calyptia.com/v1/aggregator_pipelines/:pipelineID/secrets", "params": [ { "name": "pipelineID", "value": "", "type": "path" }, { "name": "last", "value": "", "type": "query", "description": "Last secrets." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Secrets from a pipeline." }, { "info": { "name": "Create pipeline secret", "type": "http" }, "http": { "method": "POST", "url": "https://cloud-api.calyptia.com/v1/aggregator_pipelines/:pipelineID/secrets", "params": [ { "name": "pipelineID", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create secret within a pipeline.\nThe given name is unique within the pipeline.\nThese secrets can be referenced by their name within a fluentbit configuration file like so `{{secrets.thename}}`.\nUse them to hide sensible values from your config file." }, { "info": { "name": "Pipeline secret", "type": "http" }, "http": { "method": "GET", "url": "https://cloud-api.calyptia.com/v1/pipeline_secrets/:secretID", "params": [ { "name": "secretID", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Secret by ID." }, { "info": { "name": "Update pipeline secret", "type": "http" }, "http": { "method": "PATCH", "url": "https://cloud-api.calyptia.com/v1/pipeline_secrets/:secretID", "params": [ { "name": "secretID", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update secret by its ID." }, { "info": { "name": "Delete pipeline secret", "type": "http" }, "http": { "method": "DELETE", "url": "https://cloud-api.calyptia.com/v1/pipeline_secrets/:secretID", "params": [ { "name": "secretID", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete pipeline secret by its ID.\nThe secret cannot be deleted if some pipeline config is still referencing it;\nyou must delete the pipeline first if you want to delete the secret." } ] } ], "bundled": true }