From daf38b44c2b56ab0bdf1c821fe446b1cdba87d89 Mon Sep 17 00:00:00 2001 From: Zach Brisson <162374237+ZachBrisson-Elastic@users.noreply.github.com> Date: Wed, 16 Apr 2025 09:23:22 -0400 Subject: [PATCH] Update pw-env-var.md Typo in the export command results in the command not working as written. Needs a space between export and the variable. Changed: "exportELASTIC_PASSWORD="your_password"" to: "export ELASTIC_PASSWORD="your_password" --- deploy-manage/deploy/self-managed/_snippets/pw-env-var.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-manage/deploy/self-managed/_snippets/pw-env-var.md b/deploy-manage/deploy/self-managed/_snippets/pw-env-var.md index 1334fe85e7..63f2b66447 100644 --- a/deploy-manage/deploy/self-managed/_snippets/pw-env-var.md +++ b/deploy-manage/deploy/self-managed/_snippets/pw-env-var.md @@ -1,9 +1,9 @@ We recommend storing the `elastic` password as an environment variable in your shell. For example: ```sh subs=true -{{export}}ELASTIC_PASSWORD="your_password" +{{export}} ELASTIC_PASSWORD="your_password" ``` If you have password-protected the {{es}} keystore, you will be prompted to enter the keystore’s password. See [Secure settings](/deploy-manage/security/secure-settings.md) for more details. -To learn how to reset this password, refer to [](/deploy-manage/users-roles/cluster-or-deployment-auth/built-in-sm.md). \ No newline at end of file +To learn how to reset this password, refer to [](/deploy-manage/users-roles/cluster-or-deployment-auth/built-in-sm.md).