capabilities.work

Add a variable to a deployment environment

One step with Bitbucket. We can help you get access.

Get something done

Add a variable to a deployment environment

with Bitbucket · Continuous Integration Management

Use Bitbucket: its Bitbucket Pipelines API lets you add a variable to a deployment environment in a single step (POST /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables). capabilities.work can help you get signed up and connected.

  • How do I add a secret just for my production deployment environment?
  • Can a deployment environment variable be marked as secured so its value is hidden?
Say it to your AI assistant
  • Add variable {key} with value {value} to deployment environment {environment_uuid} in {workspace}/{repo_slug}.
  • Create a secured environment variable {key} on environment {environment_uuid} of repo {repo_slug} in {workspace}.
For your developer

POST /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables in Bitbucket Pipelines API. Full spec on APIs.io.