# Github Tokens for branches

**URL:** <https://community.doppler.com/t/github-tokens-for-branches/49>\
**Category:** Feature Requests\
**Created:** [January 6, 2021, 6:22pm UTC](https://community.doppler.com/t/github-tokens-for-branches/49 "2021-01-06T18:22:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexbouchardd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/alexbouchardd/32/40_2.png) [@alexbouchardd](https://community.doppler.com/u/alexbouchardd)\
**Post date:** [January 6, 2021, 6:22pm UTC](https://community.doppler.com/t/github-tokens-for-branches/49/1 "2021-01-06T18:22:33Z")

</div>

Hey Doppler team!

I’m deploying my repo to multi place (operating as mono-repo) and I need granularity for each of those deployments. However with Github I can only sync 1 secret key instead of multiple doppler keys. I’ve manually created a `STAGING_DOPPLER_SECRET` and synced the production once by default but it would be great to sync multiple ‘branch’ secret. You could append the branch name to the env variable? Something like `PROD_WORKERS_DOPPLER_SECRET` or whatever.

Cheers!

---

<div class="post-metadata">

**Author:** ![rgmvisser](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/rgmvisser/32/24_2.png) [@rgmvisser](https://community.doppler.com/u/rgmvisser)\
**Post date:** [January 6, 2021, 8:14pm UTC](https://community.doppler.com/t/github-tokens-for-branches/49/2 "2021-01-06T20:14:49Z")

</div>

Hi Alex,

This is a great idea! We have documentation ([GitHub Actions](https://docs.doppler.com/docs/enclave-github-actions)) on how to add multiple repo syncs, but we agree it is better if we support in the dashboard integration. We’ll take a look at what the best approach is here to support multiple tokens. Stay tuned!

Best,

Ruud

---

<div class="post-metadata">

**Author:** ![rgmvisser](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/rgmvisser/32/24_2.png) [@rgmvisser](https://community.doppler.com/u/rgmvisser)\
**Post date:** [March 15, 2021, 7:23pm UTC](https://community.doppler.com/t/github-tokens-for-branches/49/5 "2021-03-15T19:23:16Z")

</div>

Hi Alex,

We implemented this feature request. Now, if you setup a GitHub integration we will postfix the DOPPLER\_TOKEN with the config that is being synced. So for instance: DOPPLER\_TOKEN\_CI.

Note: we are going to change our GitHub integration where we sync every secret to GitHub. This will make it easier to use environment variables in your github actions and don’t require installing the CLI anymore. If you still wanna use 2 different environments, you can still use the service token approach.

Cheers,

Ruud
