From ef4c946289d6d1269af958e7070bf3feadc43115 Mon Sep 17 00:00:00 2001 From: Alex Taranovsky Date: Mon, 11 Nov 2019 23:06:34 +0200 Subject: [PATCH 1/2] magento/devdocs#: Cloud. Set ADMIN_URL via magneto-cloud command line tool - https://devdocs.magento.com/guides/v2.2/cloud/env/environment-vars_magento.html - https://devdocs.magento.com/guides/v2.3/cloud/env/environment-vars_magento.html --- guides/v2.2/cloud/env/environment-vars_magento.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/guides/v2.2/cloud/env/environment-vars_magento.md b/guides/v2.2/cloud/env/environment-vars_magento.md index 0d14ac265fb..ea1bbf86035 100644 --- a/guides/v2.2/cloud/env/environment-vars_magento.md +++ b/guides/v2.2/cloud/env/environment-vars_magento.md @@ -14,12 +14,12 @@ Use the ADMIN variables in the following table to override credentials for the M If you want to change the values after installation, connect to your environment using ssh and use the the Magento CLI [`admin:user` command]({{ page.baseurl }}/install-gde/install/cli/install-cli-subcommands-admin.html) 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 {{ site.data.var.ece }} 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. +| 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 {{ site.data.var.ece }} 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 @@ -27,4 +27,4 @@ Use the following environment variable to secure access to your Magento Admin UI `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, connect to your environment using SSH and use the Magento CLI [`magento setup:config`]({{ page.baseurl }}/install-gde/install/cli/install-cli-subcommands-deployment.html) command to change the URL. +If you need to change the Admin URL after installation, use the [`magento-cloud variable:set`]({{ page.baseurl }}/cloud/env/set-variables.html) command-line tool to change the URL. From 335e54ffc7cc453409ccb119c5dd297541737de4 Mon Sep 17 00:00:00 2001 From: Alex Taranovsky Date: Tue, 19 Nov 2019 19:05:34 +0200 Subject: [PATCH 2/2] magento/devdocs#: Cloud. Set ADMIN_URL via magneto-cloud command line tool --- guides/v2.2/cloud/env/environment-vars_magento.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/guides/v2.2/cloud/env/environment-vars_magento.md b/guides/v2.2/cloud/env/environment-vars_magento.md index ea1bbf86035..e0a08e47118 100644 --- a/guides/v2.2/cloud/env/environment-vars_magento.md +++ b/guides/v2.2/cloud/env/environment-vars_magento.md @@ -27,4 +27,8 @@ Use the following environment variable to secure access to your Magento Admin UI `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`]({{ page.baseurl }}/cloud/env/set-variables.html) command-line tool to change the URL. +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: + +```bash +magento-cloud variable:set ADMIN_URL magento_A8v10 -e master +```