-
Notifications
You must be signed in to change notification settings - Fork 68
Setting Passwords
Josh Rickard edited this page Nov 6, 2020
·
1 revision
The following section outlines an optional step of setting passwords for all accounts within ELK. By default we will use the value provided in your .env
under the ELASTIC_PASSWORD
for all accounts.
Let's run our ELK stack now:
docker-compose up -d
You will need to set passwords for all accounts. I recommend in a testing environment to create a single password and use this across all accounts - it makes it easier when troublehshooting.
We need to access the elasticsearch container and generate our passwords:
docker-compose exec elasticsearch bash
> bin/elasticsearch-setup-passwords interactive -u "https://0.0.0.0:9200"
# Set passwords for all accounts when prompted
For more information about generating certificates, please see our documentation in our WiKi