# Select secrets when create a branch config

**URL:** <https://community.doppler.com/t/select-secrets-when-create-a-branch-config/125>\
**Category:** Feature Requests\
**Created:** [March 6, 2021, 1:41am UTC](https://community.doppler.com/t/select-secrets-when-create-a-branch-config/125 "2021-03-06T01:41:33Z")\
**Posts on this page:** 4\
**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:** [March 6, 2021, 1:41am UTC](https://community.doppler.com/t/select-secrets-when-create-a-branch-config/125/1 "2021-03-06T01:41:33Z")

</div>

When creating a new branch config that only needs a subset of configs it’s a bit tedious to have to go through all the secrets that aren’t needed and delete them. There could be a more compact UI specifically select the subset of secrets to be part of the new branch.

Additionally, I’ve had to create branches for different environments that I intended to contain the same subset of secrets but had to do a bunch of back and forth to make sure I got it right (honestly, I’m not even sure I did). For example, I have stg\_docs and prd\_docs that contain only the necessary secrets to build our docs.

---

<div class="post-metadata">

**Author:** ![ryan-blunden](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/ryan-blunden/32/9_2.png) [@ryan-blunden](https://community.doppler.com/u/ryan-blunden)\
**Post date:** [March 8, 2021, 12:17am UTC](https://community.doppler.com/t/select-secrets-when-create-a-branch-config/125/2 "2021-03-08T00:17:34Z")

</div>

Hey Alex,

Thanks for this awesome feedback and I’ve addressed your points individually below.

> There could be a more compact UI specifically select the subset of secrets to be part of the new branch.

This is a great suggestion and I’ll pass this on to our Engineering team.

> I’ve had to create branches for different environments that I intended to contain the same subset of secrets but had to do a bunch of back and forth to make sure I got it right.

Would the option of being able to clone the keys from an existing branch config to a new branch config (e.g stg\_docs =\> prd\_docs) help here?

---

<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:** [March 8, 2021, 12:34am UTC](https://community.doppler.com/t/select-secrets-when-create-a-branch-config/125/4 "2021-03-08T00:34:23Z")

</div>

Pleasure!

> Would the option of being able to clone the keys from an existing branch config to a new branch config (e.g stg\_docs =\> prd\_docs) help here?

It would! However, I was thinking that a branch could be “associated” or “related” with another branch in another environment. The same way you get a warning if there is a diff in root config keys of each environment you could have the same for branches.

 ![Screen Shot 2021-03-07 at 4.35.27 PM](https://us1.discourse-cdn.com/flex016/uploads/doppler/original/1X/69a15df466dddefd8013e2267467b7660269945e.png)

That, but on the branch, if there is a mismatch with the associated branch.

✌

---

<div class="post-metadata">

**Author:** ![ryan-blunden](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/ryan-blunden/32/9_2.png) [@ryan-blunden](https://community.doppler.com/u/ryan-blunden)\
**Post date:** [March 8, 2021, 2:40am UTC](https://community.doppler.com/t/select-secrets-when-create-a-branch-config/125/5 "2021-03-08T02:40:05Z")

</div>

Ah got it, thanks for the clarification!
