Accessing Import/Export Options
- Go to the Environments section (top right corner).
- Click on Configure to access the environment settings.
- You will see the Import and Export options in the left sidebar.
Importing Environment Variables
The import feature accepts environment files in both Bruno and Postman formats. You can import multiple files at once.Steps to Import
- Click on the Import button in the environment configuration screen.
- Drag and drop one or more JSON environment files, or click to browse and select them.
- The environments will be added (global or collection, depending on which you’re configuring). If none of the names conflict with existing environments and all files are valid, Bruno imports them immediately.
Resolving name conflicts
If an imported environment has the same name as an existing one, Bruno shows a review screen before importing. The screen groups environments into Duplicates and New, and lets you search the list and select which environments to import. For each duplicate, choose one of two resolutions:- Import as copy (default): Bruno creates the environment under a new name and keeps the existing environment untouched.
- Replace existing: Bruno overwrites the existing environment’s variables with the imported ones.
If a file has an invalid or unsupported format, Bruno reports the error and continues importing the remaining valid files.
Exporting Environment Variables
Steps to Export
- Go to the Environments section.
- Click on Configure.
- Click the Export button.
- If you have multiple environments, select which environments you want to export.
- Choose the location where you want to save the exported JSON file.
- The environment variables will be saved as a JSON file that can be shared or backed up.