Search

13.5.2. Informational Environment Variables

download PDF
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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.