Path parameters
-
app-slug
string Required app slug
Body
Required
secret data
-
expand_in_step_inputs
boolean -
is_exposed_for_pull_requests
boolean -
is_protected
boolean -
name
string Required -
value
string Required
POST
/apps/{app-slug}/secrets
curl \
--request POST 'https://api.bitrise.io/v0.1/apps/{app-slug}/secrets' \
--header "Authorization: $API_KEY" \
--data '{"expand_in_step_inputs":true,"is_exposed_for_pull_requests":true,"is_protected":true,"name":"string","value":"string"}'
Request examples
{
"expand_in_step_inputs": true,
"is_exposed_for_pull_requests": true,
"is_protected": true,
"name": "string",
"value": "string"
}
Response examples (201)
{
"expand_in_step_inputs": true,
"id": "string",
"is_exposed_for_pull_requests": true,
"is_protected": true,
"name": "string",
"scope": "string"
}
Response examples (401)
{
"error_msg": "string"
}
Response examples (403)
{
"error_msg": "string"
}
Response examples (404)
{
"error_msg": "string"
}