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.
```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

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:
- **username**: *zitadel-admin@<span></span>zitadel.localhost*
- **password**: *Password1!*
If you configured a different username, replace the substring zitadel-admin above by the username you configured.