Skip to main content
In any collection, there are secrets that need to be managed. These secrets can be anything such as API keys, passwords, or tokens. A common practice is to store these secrets in environment variables. There are two ways in which developers share bruno collections:
  • Check-in the collection folder to source control (like git)
  • Export the collection to a file and share it
In both these cases we want to ensure that the secrets are stripped out of the collection before it is shared.
Secret variables are stored on your local machine (encrypted with OS-level encryption when available, otherwise AES-256). External secret managers are different: values stay in memory for the session only and are never written to disk. See Secret Managers.

Solution

Bruno offers three (3) approaches to manage secrets in collections.