v2
pipelines
secrets

Gets a pipeline secret by key.

get/api/v2/pipelines/{name}/secrets/{key}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/pipelines/{name}/secrets/{key}
  • Auth
    HTTP bearer

Path parameters

namestring required

Pipeline name

keystring required

Pipeline secret key

Query parameters

dbstring nullable

The database a secret belongs to: a source name, or 'target' for the target database. Omit for legacy SOURCE_DB_* and TARGET_DB_* keys.

Response

Successful Response

keystring required
dbstring required
type'simple' | 'file' | 'binary_file' required

Changes

    • info

      added the new optional query request parameter db

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • warning

      added the new binary_file enum value to the response property for the response status