Configuration environments

Configuration environments allow centralized management of the configuration of multiple similar IAM instances. 

The feature replaces the "Configuration Layering (Include Handling)" since version 6.4.

Enabling configuration environments

In the parameter defines the identifier of the instance's environment (further referred to as the instance environment). The identifier may contain any character, but leading and trailing white space will be removed.

It is also possible to set the configuration environment ID through the "IAM_ENVIRONMENT_ID" process environment variable.

Environment ID definition in instance configuration:

## The configuration environment identifier of this instance. (e.g. Production)
## By default the configuration environments feature is disabled. Defining this property enables the configuration environment feature. = Production

Example values:

  • Dev1
  • ProdHA
  • Customer XYZ Stage Production
  • BankAProd

If an instance does NOT define an environment ID the environment feature is disabled and any configuration containing environments can not be activated.

After defining the environment ID, configurations containing environment-specific values can be deployed to the instance.

Be careful when disabling the feature (removing/commenting out the property When the medusa-configuration.xml contains environments and the instance has the feature disabled the configuration can NOT be activated. Meaning the activation on start-up could fail if the feature was previously disabled.