ADMIN variables

Users that have administrative access to the Magento Commerce Cloud project can use the following project environment variables to override the configuration settings for the administrative user account to access the Admin UI. See Change the Magento ADMIN variables.

Admin credentials

Use the ADMIN variables in the following table to override credentials for the Magento Admin user during installation.

If you want to change the values after installation, connect to your environment using ssh and use the the Magento CLI admin:user command to create or edit the Magento Admin user credentials.

Variable Default Description
ADMIN_USERNAME License Owner email address A username for the administrative user with the ability to create other users, including administrative users.
ADMIN_EMAIL   Email address for the administrative user. This address is used to send password reset notifications.
ADMIN_PASSWORD   Password for the administrative user. When the project is created a random password is generated and an email is sent to the Magento Commerce Cloud License Owner. During project creation, the License Owner should have already changed the password. You might need to contact the License Owner for the updated password.
ADMIN_LOCALE en_US The default locale used by the Magento Admin.

Admin URL

Use the following environment variable to secure access to your Magento Admin UI. If specified, this value overrides the default URL during installation.

ADMIN_URL—The relative URL to access the Magento Admin UI. The default URL is /admin. For security reasons, Magento recommends that you change the default to a unique, custom Admin URL that is not easy to guess.

If you need to change the Admin URL after installation, use the magento-cloud variable:set command-line tool to change the URL. For example, to set the Admin URL to magento_A8v10, use:

1
magento-cloud variable:set ADMIN_URL magento_A8v10 -e master