influxd recovery user create

API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — capture any plaintext tokens you still need before you upgrade.

For more information, see Token hashing.

The influxd recovery user create command creates a new user directly on disk for recovery purposes.

This command can only be executed when the InfluxDB server (influxd) is not running.

Usage

influxd recovery user create [flags]

Flags

FlagDescriptionInput Type
--bolt-pathPath to the BoltDB file (default ~.influxdbv2/influxd.bolt)string
-h--helpHelp for create
--passwordPassword for the new userstring
--usernameUsername of the new userstring

Examples

Create a new user directly on disk
influxd recovery user create \
  --username example-username \
  --password ExAmPL3-paS5W0rD

Was this page helpful?

Thank you for your feedback!