Documentation

Configure password hashing

By default, InfluxDB Enterprise uses bcrypt for password hashing. FIPS compliance requires particular hashing alorithms. Use pbkdf2-sha256 or pbkdf2-sha512 for FIPS compliance.

Change password hashing algorithm

Complete the following steps to change the password hashing algorithm used by an existing InfluxDB Enterprise cluster:

  1. Ensure all meta and data nodes are running InfluxDB Enterprise 1.10.3 or later.

  2. In your meta node and data node configuration files, set password-hash to one of the following: pbkdf2-sha256, or pbkdf2-sha512. Also set ensure-fips to true.

    The meta.password-hash setting must be the same in both the data and meta node configuration files.

  3. Restart each meta and data node to load the configuration change.

  4. To apply the new hashing algorithm, you must reset all existing passwords in the cluster. Otherwise, the previous algorithm will continue to be used.

Example configuration

Example data node configuration:

[meta]
  # Configures password hashing scheme. Use "pbkdf2-sha256" or "pbkdf2-sha512"
  # for a FIPS-ready password hash. This setting must have the same value as
  # the meta nodes' meta.password-hash configuration.
  password-hash = "pbkdf2-sha256"

  # Configures strict FIPS-readiness check on startup.
  ensure-fips = true

Example meta node configuration:

[meta]
  # Configures password hashing scheme. Use "pbkdf2-sha256" or "pbkdf2-sha512"
  # for a FIPS-ready password hash. This setting must have the same value as
  # the data nodes' meta.password-hash configuration.
  password-hash = "pbkdf2-sha256"

  # Configures strict FIPS-readiness check on startup.
  ensure-fips = true

Using FIPS readiness checks

InfluxDB Enterprise outputs information about the current password hashing configuration at startup. For example:

2021-07-21T17:20:44.024846Z     info    Password hashing configuration: pbkdf2-sha256;rounds=29000;salt_len=16  {"log_id": "0VUXBWE0001"}
2021-07-21T17:20:44.024857Z     info    Password hashing is FIPS-ready: true   {"log_id": "0VUXBWE0001"}

When ensure-fips is enabled, attempting to use password-hash = bcrypt will cause the FIPS check to fail. The node then exits with an error in the logs:

run: create server: passwordhash: not FIPS-ready: config: 'bcrypt'

Was this page helpful?

Thank you for your feedback!


Set your InfluxDB URL

Linux Package Signing Key Rotation

All signed InfluxData Linux packages have been resigned with an updated key. If using Linux, you may need to update your package configuration to continue to download and verify InfluxData software packages.

For more information, see the Linux Package Signing Key Rotation blog post.

InfluxDB Cloud backed by InfluxDB IOx

All InfluxDB Cloud organizations created on or after January 31, 2023 are backed by the new InfluxDB IOx storage engine. Check the right column of your InfluxDB Cloud organization homepage to see which InfluxDB storage engine you’re using.

If powered by IOx, this is the correct documentation.

If powered by TSM, see the TSM-based InfluxDB Cloud documentation.

InfluxDB Cloud backed by InfluxDB TSM

All InfluxDB Cloud organizations created on or after January 31, 2023 are backed by the new InfluxDB IOx storage engine which enables nearly unlimited series cardinality and SQL query support. Check the right column of your InfluxDB Cloud organization homepage to see which InfluxDB storage engine you’re using.

If powered by TSM, this is the correct documentation.

If powered by IOx, see the IOx-based InfluxDB Cloud documentation.

State of the InfluxDB Cloud (IOx) documentation

The new documentation for InfluxDB Cloud backed by InfluxDB IOx 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.