docs: fix environment variables (#3674)

* clearer masterkey, config iam admin

* fix env var
This commit is contained in:
Elio Bischof 2022-05-19 16:56:17 +02:00 committed by GitHub
parent 0906c2d513
commit db0e7495e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -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. For example, if you want to configure the default ZITADEL IAM admin username and password, export these two variables.
```bash ```bash
export ZITADEL_DEFAULTINSTANCE_HUMAN_USERNAME="root" export ZITADEL_DEFAULTINSTANCE_ORG_HUMAN_USERNAME="root"
export ZITADEL_DEFAULTINSTANCE_HUMAN_PASSWORD="RootPassword1!" export ZITADEL_DEFAULTINSTANCE_ORG_HUMAN_PASSWORD="RootPassword1!"
``` ```
### Configure by configuration files ### Configure by configuration files
@ -22,6 +22,7 @@ Fortunately, you can pass multiple configuration files to the zitadel command.
# Create a configuration file containing normal configuration # Create a configuration file containing normal configuration
cat << EOF > ./zitadel-config.yaml cat << EOF > ./zitadel-config.yaml
DefaultInstance: DefaultInstance:
Org:
Human: Human:
Username: root Username: root
EOF EOF
@ -29,6 +30,7 @@ EOF
# Create a configuration file containing secrets # Create a configuration file containing secrets
cat << EOF > ./zitadel-secrets.yaml cat << EOF > ./zitadel-secrets.yaml
DefaultInstance: DefaultInstance:
Org:
Human: Human:
Password: RootPassword1! Password: RootPassword1!
EOF EOF

View File

@ -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: If you didn't configure something else, this is the default IAM admin users login:
- **username**: *zitadel-admin@<span></span>zitadel.localhost* - **username**: *zitadel-admin@<span></span>zitadel.localhost*
- **password**: *Password1!* - **password**: *Password1!*
If you configured a different username, replace the substring zitadel-admin above by the username you configured. If you configured a different username, replace the substring zitadel-admin above by the username you configured.