Skip to main content
Example on Importing Environment Variables
Ossi Galkin avatar
Written by Ossi Galkin
Updated over 7 months ago

Importing Environment Variables

You can import Environment Variables to

  • an Environment Variable Group

  • your Frends Environment as a whole.

To import Environment Variables, you will need a CSV file with Environment Variable information. This file can, for example, be previously exported variable data updated with current values.

Note:

  • Even though secret-type Environment Variables will not be exported, you can add those to the CSV file to be uploaded when the 'Import secret environment variables' option is set to ON.

  • You cannot change the Environment Variable type of an existing Environment Variable when preparing the CSV file to be uploaded.

Steps to import Environment Variable group

The example CSV that is imported contains a new Environment Variable for the Environment Variable Group.

Do the following in the Environment Variable View:

  1. Click ‘Create new variable’ icon.

  2. Set the options in the Environment Variable import settings pop-up.

    • Overwriting existing Environment variables: When enabled, the Environment Variables you have in your CSV file will overwrite existing Environment Variables with the same name.

    • Import secret Environment variables: When enabled, Environment Variables with the secret-type will be allowed to be imported.

  3. Click Continue.

  4. In the File manager pop-up, select the CSV file containing the Environment Variable data.

  5. Click Open.

A new Environment Variable has been added to the group.

Steps to import Environment Variables to Frends Environment as a whole:

The steps are the same as presented above, but you will initiate the import from the Environment Variable View by:

  1. Clicking '...' icon.

  2. Selecting 'Import Environment Variables'.

  3. From here, follow the instructions above from step 2 onwards.

Did this answer your question?