Once a provider is saved, you can export its configuration as a .env file directly from Preferences > Secrets Manager. This is useful for sharing credentials with the Bruno CLI or seeding a CI/CD pipeline without manually transcribing values.
In the Secrets Manager list, hover over the account you want to export.
Click the Export as .env icon (the square-with-arrow icon on the right).
Bruno writes the credentials to a .env file on your machine.
The exported .env file contains your vault credentials in plain text. Add it to .gitignore immediately and never commit it to version control.
Pass the exported file to the CLI using the --secrets-env-file flag:
bru run collection/ --env Production --secrets-env-file ./secrets.env