Penv Cloud
Start free
Docs
Reference

Bitrise secrets

Secrets a Bitrise workflow reads at build time.

Secrets a Bitrise workflow reads at build time.

Connection

WhatThis provider
VendorBitrise
Keybitrise-secrets
Availabilityavailable. You can connect it today.
Credential we holdbitrise-token
Values read backyes
Activationon-next-deploy

Directions

DirectionWhat it does
importWe read names and values out of the store into your environment.
exportWe write names and values from your environment into the store.

Activation

on-next-deploy. A new value waits there and arrives with your next deploy.

Conflict policies

DirectionPolicies you can pick
importskip_existing, new_version, fail
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 ityesBitrise sends this raw, with no Bearer prefix.

Mapping fields

You answer these once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
appSlugApptextyesnoThe slug in your Bitrise app URL.
isProtectedHide values from the APIyes or nonoyesOne way: once hidden, a value cannot be read back or changed, only deleted and remade. Starts at false.
isExposedForPullRequestsExpose to pull requestsyes or nonoyesBuilds from forks would read it. Starts at false.
expandInStepInputsExpand in step inputsyes or nonoyesStarts at false.

Required permissions

We probe for these when we verify the connection.

PermissionDirectionsBlockingWithout it
apps:readevery directionyesPreview cannot list the app's secrets.
apps:writeexportyesExport cannot write anything.