Recover user credentials

This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.

Use the influxd command line interface (CLI) to recover user credentials and regain access to your InfluxDB instance:

Update a password

To update a password, run the following:

influxd recovery user update \
  --username example-username \
  --password ExAmPL3-paS5W0rD

List existing users in the InfluxDB instance

To list existing users in the system, run the following:

influxd recovery user list

If you used a custom bolt-path when starting InfluxDB, provide your custom bolt path to the influx recovery user list command with the --bolt-path flag.

Create a user for recovery purposes

To create a new user for recovery purposes, run the following:

influxd recovery user create \
  --username example-username \
  --password ExAmPL3-paS5W0rD

Was this page helpful?

Thank you for your feedback!

Set your InfluxDB URL

Introducing InfluxDB 3.0

The new core of InfluxDB built with Rust and Apache Arrow. Available today in InfluxDB Cloud Dedicated.

Learn more

State of the InfluxDB Cloud Serverless documentation

The new documentation for InfluxDB Cloud Serverless is a work in progress. We are adding new information and content almost daily. Thank you for your patience!

If there is specific information you’re looking for, please submit a documentation issue.