QuestionQ25

Commerce Cloud CLI tool (managing part)

For security purposes, a merchant asks a developer to change the default Admin URL to a unique URL for every branch/environment in their Adobe Commerce Cloud project.

Which CLI command would the developer use to update the Admin URL?

  • A ece-tools variable:update ADMIN_URL
  • B magento-cloud variable:set ADMIN_URL
  • C bin/magento adminuri:set <admin_uri>
Explanation

Adobe Commerce Cloud uses the ADMIN_URL environment variable to set a distinct Admin path per environment. The Cloud CLI command represented by magento-cloud variable:set ADMIN_URL sets that Cloud environment variable. Current Adobe documentation supersedes this legacy syntax with magento-cloud variable:update ADMIN_URL; that command is not one of the available choices.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!