Skip to main content

Manage environment variables in the XM Cloud Deploy App

Abstract

Describes how to create, edit, and delete environment variables in the XM Cloud Deploy App.

You can manage settings that change by environment by declaring environment variables.

Important

Modifying environment variables requires a rebuild/redeploy of your environment for the changes to take effect.

To create an environment variable:

  1. On the menu bar of the XM Cloud Deploy App, click Home.

  2. On the Projects page, click the project that contains the environment where you want to create an environment variable.

  3. On the Environments and deployments page, locate the environment where you want to create a variable, then click Options, Environment variables.

  4. In the Environment variables dialog, in the Name field, enter a name for your environment variable.

  5. In the Value field, enter a value for your variable.

  6. If you want to make your variable private, select the Private check box.

  7. Click Add variable.

To edit an environment variable:

  1. On the Environments and deployments page of the environment where you want to edit a variable, in the relevant environment, click Options, Environment variables.

  2. In the Environment variables dialog, in the list of environment variables, locate the variable you want to edit, click the Actions menu actions-menu-horizontal-icon.png, then click Edit.

    Note

    You cannot edit a private environment variable.

  3. In the Value field, enter the value you want, then click Save.

To delete an environment variable:

  1. On the Environments and deployments page of the environment where you want to delete a variable, in the relevant environment, click Options, Environment variables.

  2. In the Environment variables dialog, in the list of environment variables, locate the variable you want to delete, click the Actions menu actions-menu-horizontal-icon.png, then click Remove.