Secrets Management
Secret Variables

Secrets Management

Secret Variables

In this approach, you can check the secret checkbox for any variable in your environment.

Bruno will manage your secrets internally and will not write them into the environment file.

secret variables

Your environment file at environments/local.bru would look like

vars {
  host: http://localhost:5005
vars:secret [

And now you can safely check in your collection to source control without worrying about exposing your secrets.

When you export your collection as a file, Bruno will not export the secret variables.