secrets
Add secrets
Adding secrets
post/api/v1/orgs/{orgId}/secrets
Path parameters
orgIdinteger required
Organization identifier
Query parameters
validateboolean
validation is skipped or not
Request body
Example request
{
"values": {
"type": "string",
"project_id": "string",
"private_key_id": "string",
"private_key": "string",
"client_email": "string",
"client_id": "string",
"auth_uri": "string",
"token_uri": "string",
"auth_provider_x509_cert_url": "string",
"client_x509_cert_url": "string"
},
"name": "My google secret",
"type": "google",
"tags": [
"repo:pipeline",
"tag2"
]
}Response
Secret saved successfully
Example response
{
"updatedBy": "username",
"name": "My-google-secret",
"id": "62bc3c75-91fb-4670-bad4-24b401a9deac",
"type": "google",
"error": "Validation failed",
"version": 1,
"updatedAt": "2018-07-01T08:27:23.2636996Z",
"tags": [
"repo:pipeline",
"tag2"
]
}Changes
Changed in 2 of the 50 revisions of this API.2
- ▲
the
request property type changed from no type toobjectrequest-property-type-changed
- ▲
- ▲
the
request property type changed fromobjectto no typerequest-property-type-changed
This revision also has 35 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲