create_pipeline_variable
Add secure or plain-text configuration variables to Bitbucket pipelines for managing secrets and environment settings.
Instructions
Create a pipeline variable.
Args:
repo_slug: Repository slug
key: Variable name (e.g., "PYPI_TOKEN", "AWS_SECRET_KEY")
value: Variable value
secured: Whether to encrypt the value (default: False).
Secured variables cannot be read back from the API.
Returns:
Created variable info with UUIDInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| key | Yes | ||
| value | Yes | ||
| secured | No |