v2
pipelines
secrets

Creates a new pipeline secret.

post/api/v2/pipelines/{name}/secrets

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
  • Auth
    HTTP bearer

Path parameters

namestring required

Pipeline name

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.

validate_sourceboolean

When true, require the source to already exist in the pipeline.

Request body

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

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 new optional query request parameter validate_source

    • 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

    • info

      added the new binary_file enum value to the request property