13.5.2. Informational Environment Variables

Informational environment variables provide information about an application. These variables are always available to the application, regardless of which cartridges the application is using.

Table 13.3. Informational Environment Variables

Environment Variable Name Purpose
OPENSHIFT_APP_DNS The fully-qualified domain namespace of the application.
OPENSHIFT_APP_NAME The name of the application.
OPENSHIFT_APP_UUID The UUID of the application (32 hexadecimal characters).
OPENSHIFT_Cart_Name_IP The IP address the application listens on.
OPENSHIFT_Cart_Name_PORT The port the application receives requests from.
OPENSHIFT_SECRET_TOKEN A 128-character string unique to an application that can be used for authentication, and can be overridden with the rhc env set command.