Configuring Keycloak 'admin' Credentials
The Keycloak admin credentials are defined in the infrastructure Docker descriptor. It allows connecting to the master realm and changing the global Keycloak configuration.
To Configure Keycloak 'admin' Credentials
-
Edit
deployment/docker/infra/docker-compose.ymland change theKEYCLOAK_PASSWORDenvironment variable.keycloak: ... environment: - KEYCLOAK_USER=admin - KEYCLOAK_PASSWORD # Not specifying a value allow to transmit environment variable to the container. ... -
Edit the
.envfile placed in thedocker-compose.ymlparent folder and add an environment variableKEYCLOAK_PASSWORDwith the password you have chosen. Note that you can also add the environment variable to the host machine.