Using environment variables

Some configuration options support the usage of environment variables. This could be useful when deploying the same Content Quality App to a staging and production environment, targeting a different httpApiAnnotator depending on the environment.

The documentation and analysis XSD will mention when environment variables are allowed to be used.


The syntax to use is to the wrap the environment variable. For example, the environment variable MYVARIABLE1 can be referenced as follows:

<httpApiAnnotator endpoint="{$MYVARIABLE1}"/>

Allowed characters

We support environment variables containing the following characters:

numbers 0-9
letters a-z A-Z
colons :
underscores _
Was this page helpful?