Admin Account

This page describes how to configure the default admin account for Lenses.

When you first log in to Lenses, use the default credentials admin/admin

The default account is a super user and can be used to create groups and other accounts with appropriate permissions.

The default account username and password may be adjusted as below.

We strongly recommend that you change the default password. If you don’t, you will be prompted with a dashboard notification.

For security purposes, it is strongly advised to use your password’s SHA256 checksum instead of the plaintext.

security.conf
# Lenses Administrator settings
lenses.security.user = "admin"

## For the password you can either use the plaintext
#lenses.security.password = "admin"
## Or you may use the SHA256 checksum (advised)
lenses.security.password = "sha256:8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918"

To create a SHA256 checksum for your password you can use the command line tools available in your Linux server or macOS.

unset HISTFILE # Disable history for the current terminal
echo -n "password" | sha256sum

Disabling the Admin Account

To disable the Lenses Administrator user, set an adequately long random password. You can achieve this by using the snippet below:

dd if=/dev/urandom count=1 bs=1024 | sha256sum

Last updated

Logo

2024 © Lenses.io Ltd. Apache, Apache Kafka, Kafka and associated open source project names are trademarks of the Apache Software Foundation.