Get a single secret by name

GET /organizations/{org-slug}/secrets/{secret-name}

Get a single secret by name, including the value if not protected

Path parameters

Responses

GET /organizations/{org-slug}/secrets/{secret-name}
curl \
 --request GET 'https://api.bitrise.io/v0.1/organizations/{org-slug}/secrets/{secret-name}' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "expand_in_step_inputs": true,
  "id": "string",
  "is_exposed_for_pull_requests": true,
  "is_protected": true,
  "name": "string",
  "scope": "string",
  "value": "string"
}
Response examples (401)
{
  "error_msg": "string"
}
Response examples (403)
{
  "error_msg": "string"
}
Response examples (404)
{
  "error_msg": "string"
}