Penv Cloud
Start free
Docs
Reference

Bitbucket Pipelines

Export secrets into one Bitbucket repository's pipeline variables.

Export secrets into one Bitbucket repository's pipeline variables.

Connection

WhatThis provider
VendorBitbucket
Keybitbucket-variables
Availabilityavailable. You can connect it today.
Credential we holdbitbucket-token
Values read backno
Activationimmediate

Directions

DirectionWhat it does
exportWe write names and values from your environment into the store.

Bitbucket returns no value once it holds one, so we can write here and cannot read back.

Activation

immediate. The running app sees a new value at once.

Conflict policies

DirectionPolicies you can pick
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

Connect

Paste a credential from the vendor. We seal it and never show it again.

FieldLabelKindRequiredWhat it is
tokenAccess tokensecret; we mask it here and seal ityesA Repository or Workspace Access Token carrying pipeline:variable. The similar-looking pipeline:write does not grant variable writes.

Connection fields

You set these when you connect. Every mapping on the connection shares them.

FieldLabelKindRequiredAdvancedWhat it is
workspaceWorkspacetextyesnoThe first path segment of your repository's URL. One connection covers one workspace.

Mapping fields

You answer these once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
repositoryRepositorytextyesnoNames starting with BITBUCKET_ are accepted, and override Bitbucket's own build variables.

Required permissions

We probe for these when we verify the connection.

PermissionDirectionsBlockingWithout it
pipelineevery directionyesPreview cannot list what is already there, so a prune cannot be planned.
pipeline:variableexportyesExport cannot write anything.