Share global environment variables and files / Organization level environment (and secret) variables

#1

From Sam G on 2016/04/30 19:30:46 +0000

This would be useful for sharing code signing certificates, AWS keys, etc across multiple apps.

Copied from original feature request: http://bitrise.uservoice.com/forums/235233-general/suggestions/13680282-share-global-environment-variables-and-files

0 Likes

Organization-wide secrets
Global variable incremented in every build
Environment variables that can be used with in all apps
Org-level secrets and env vars
Organization-wide secrets
#2

From Callum Taylor on 2016/09/22 10:27:38 +0000

+1 We have lots of apps that have different keystores, but all stored in one file, rather than having to upload it multiple times and risk them going out of sync, would be nice to just have one place where we can update it

0 Likes

#3

+1 here.
Any update on this since September?

0 Likes

#4

No update yet, please vote on this #feature-request to bump its priority!

0 Likes

#5

so was this implemented?

0 Likes

#6

No, not yet. Planned but no ETA yet.

0 Likes

#7

Would be very nice :star_struck:

0 Likes

#8

If you can share some details about what kind of env vars / secrets you’d like to share between apps that would help us a lot in refining this feature! We have our list, but having as much context as possible always helps in designing the features :wink:

0 Likes

#9

Mostly it’s like global information for all the apps.

  • API token slack
  • API token phraseapp
  • Apple account logins because the itunes connect step doesn’t use the info like auto-provision step does.
  • Maybe reusable team IDs (enterprise team is always same ID)

It would be handy if you have ‘organisation’ shared envs and ‘user’ shared envs.
Because Bitrise requires to have 1 apple login with access to all the teams of different clients.
But we are planning to create a ‘bitrise user’ for every client. So we can still use different apple logins.
But the client has some shared envs as well.

  • Fabric token & secret
  • apple login & password

This way we can store all information of 1 client in one bitrise account and the client has multiple apps.
So we share all the envs across all the apps from that client.

I hope this gives you some information of how we would use it.

Friendly regards,

Seppe

5 Likes

#10

Definitely, thanks for the infos @seppe_r! :wink:

0 Likes

#11

Some things that would be nice to have shared across apps:

  • Github Enterprise API URL
  • Github access tokens
  • AppStoreConnect credentials (formerly iTunesConnect)
  • Slack webhook.
  • Code signing identities (.p12)
4 Likes

#12

We build a large number of apps for customers and it would be super useful to be able to have our own wildcard dev certs and variables available globally so that we don’t need to manually add and update them within each customers app in Bitrise. That way each customer app is just setup with their own certs and variables but if we need to create an internal build for testing we can just trigger a workflow that uses our global certs/variables instead

0 Likes

#13

+1 would help us a lot

0 Likes