From db0e7495e74b0a6c686b8cc809211d399148fbd3 Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Thu, 19 May 2022 16:56:17 +0200 Subject: [PATCH] docs: fix environment variables (#3674) * clearer masterkey, config iam admin * fix env var --- docs/docs/guides/installation/configuration.mdx | 14 ++++++++------ docs/docs/guides/installation/openlocal.mdx | 1 + 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/docs/guides/installation/configuration.mdx b/docs/docs/guides/installation/configuration.mdx index 871d4e908..40e702864 100644 --- a/docs/docs/guides/installation/configuration.mdx +++ b/docs/docs/guides/installation/configuration.mdx @@ -9,8 +9,8 @@ Prefix the key with *ZITADEL\_*, uppercase the propery and join sections by an u For example, if you want to configure the default ZITADEL IAM admin username and password, export these two variables. ```bash -export ZITADEL_DEFAULTINSTANCE_HUMAN_USERNAME="root" -export ZITADEL_DEFAULTINSTANCE_HUMAN_PASSWORD="RootPassword1!" +export ZITADEL_DEFAULTINSTANCE_ORG_HUMAN_USERNAME="root" +export ZITADEL_DEFAULTINSTANCE_ORG_HUMAN_PASSWORD="RootPassword1!" ``` ### Configure by configuration files @@ -22,15 +22,17 @@ Fortunately, you can pass multiple configuration files to the zitadel command. # Create a configuration file containing normal configuration cat << EOF > ./zitadel-config.yaml DefaultInstance: - Human: - Username: root + Org: + Human: + Username: root EOF # Create a configuration file containing secrets cat << EOF > ./zitadel-secrets.yaml DefaultInstance: - Human: - Password: RootPassword1! + Org: + Human: + Password: RootPassword1! EOF # Pass multiple config files using the --config argument diff --git a/docs/docs/guides/installation/openlocal.mdx b/docs/docs/guides/installation/openlocal.mdx index e44749bdc..b19aec173 100644 --- a/docs/docs/guides/installation/openlocal.mdx +++ b/docs/docs/guides/installation/openlocal.mdx @@ -2,4 +2,5 @@ Open your favorite internet browser and navigate to [http://localhost:8080/ui/co If you didn't configure something else, this is the default IAM admin users login: - **username**: *zitadel-admin@zitadel.localhost* - **password**: *Password1!* + If you configured a different username, replace the substring zitadel-admin above by the username you configured.