Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share environment variables between collections #1643

Closed
sahad78 opened this issue Feb 22, 2024 · 6 comments
Closed

Share environment variables between collections #1643

sahad78 opened this issue Feb 22, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@sahad78
Copy link

sahad78 commented Feb 22, 2024

Hi,
Is there a way to share environment variables between collections? It seems that an environment belongs to one specific collection and not global as in Postman.

I'm using Bruno v1.9.0

Thanks

@nathan-skillen
Copy link

You could do like I've done, and create an environments folder outside your root collections folder:

~/bruno
├-- collections
│   ├-- collection_a
│   ├-- collection_b
└-- environments
    ├-- environment_a
    └-- environment_b

And then inside each collection folder, delete the environments folder and replace with a symlink to ../../environments

@vlade11115
Copy link

I would like this to be built in feature, +1
For now, I will stick with a workaround via symlinks.

@sanjai0py sanjai0py added the enhancement New feature or request label Apr 11, 2024
@end3rbyte
Copy link
Contributor

I agree that there is something to do here, because also in our case we have multiple collections sharing the same environment variables

@lizziemac
Copy link
Contributor

lizziemac commented May 5, 2024

Duplicate of #115

1 similar comment
@lohxt1
Copy link
Collaborator

lohxt1 commented Jun 14, 2024

Duplicate of #115

@lohxt1 lohxt1 marked this as a duplicate of #115 Jun 14, 2024
@lohxt1 lohxt1 closed this as completed Jun 14, 2024
@sudhir-kunchakuri
Copy link

@nathan-skillen
And then inside each collection folder, delete the environments folder and replace with a symlink to ../../environments
I did not understand about this solution... can you please elaborate little more step wise.. so that i can do same in my bruno tool..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants