Skip to main content
Bruno stores secrets on your local machine. The location depends on the OS. The secrets are encrypted using OS level encryption when available or falls back to AES256 encryption.
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
Starting from v4.0.0, all secret variable will be displayed in a separate tab to avoid confusion between normal and secret vars. Secret values are stored securely and are not saved to the environment file.
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.