influx auth

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 influx auth command and its subcommands manage API tokens in InfluxDB.

Usage

influx auth [flags]
influx auth [command]

Command aliases

auth, authorization

Subcommands

SubcommandDescription
activeActivate API token
createCreate API token
deleteDelete API token
listList API tokens
inactiveInactivate API token

Flags

FlagDescription
-h--helpHelp for the auth command

Was this page helpful?

Thank you for your feedback!