v2
pipelines
secrets
Create Secret
Changed onCreates 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
- AuthHTTP 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
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterdb - info
added the new optional
queryrequest parametervalidate_source - info
added the non-success response with the status
- info
added the required property
to the response with the status
- info
- warning
added the new
binary_fileenum value to theresponse property for the response status - info
added the new
binary_fileenum value to the request property
- warning