secrets
Update secrets
Update secrets
put/api/v1/orgs/{orgId}/secrets/{secretId}
Path parameters
orgIdinteger required
Organization identifier
secretIdstring required
Secret identification
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 updated 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"
]
}