Documentation

Configure local authentication

Local authentication signs users in with a username and password stored in the Telegraf Controller database. It is enabled by default on every installation and is the only provider available in the free tier.

Prerequisites

  • Permission to modify the Telegraf Controller startup environment (for example, the systemd unit file or startup environment) when changing startup-only settings.
  • The Owner or Administrator role to change login security from the UI.
  • To disable local authentication, a configured LDAP or OIDC provider and a Telegraf Enterprise license.

Enable local authentication

Local authentication is enabled by default. The AUTH_LOCAL_ENABLED environment variable controls whether it is active and is read once at startup.

To confirm the current state, sign in as an owner or administrator and check that the Local option appears on the sign-in page. You can also call the public status endpoint:

curl -s http://localhost:8888/api/auth/status

The response includes a list of enabled providers. local appears when local authentication is enabled.

To explicitly enable local authentication after it has been disabled, set AUTH_LOCAL_ENABLED=true and restart Telegraf Controller.

Bootstrap the owner account

On first startup, Telegraf Controller creates the owner account using the values you provide through environment variables or interactive prompts. If no owner exists when Telegraf Controller starts and --no-interactive is set, you must supply the bootstrap values:

VariableDescription
OWNER_USERNAMEUsername for the owner account.
OWNER_PASSWORDPassword for the owner account.
OWNER_EMAILEmail address for the owner account.
export OWNER_USERNAME=admin
export OWNER_EMAIL=admin@example.com
export OWNER_PASSWORD='ChangeMeOnFirstLogin!'

telegraf_controller --no-interactive

Bootstrap-only settings

Telegraf Controller persists OWNER_USERNAME, OWNER_EMAIL, and OWNER_PASSWORD to the database on first startup. The database is the source of truth thereafter; changes to these environment variables do not affect the stored owner.

Bootstrap the owner against an external provider

If you plan to disable local authentication, set the owner’s primary provider at the same time you bootstrap the account:

export OWNER_AUTH_PROVIDER=oidc
export OWNER_EXTERNAL_ID=00u1a2b3c4d5e6f7g8h9
  • OWNER_AUTH_PROVIDER accepts local (default), ldap, or oidc.
  • OWNER_EXTERNAL_ID is the identifier the external provider uses for the user, such as the LDAP distinguished name (DN) or the OIDC sub claim.

The owner always retains a local password hash, even when bootstrapped against an external provider, so you can sign in directly if the provider becomes unreachable.

For full provider setup, see Configure LDAP authentication or Configure OIDC authentication.

Reset the owner password

To recover from a forgotten or compromised owner password, set RESET_OWNER_PASSWORD=true together with a new OWNER_PASSWORD value and restart Telegraf Controller.

export RESET_OWNER_PASSWORD=true
export OWNER_PASSWORD='NewOwnerPassword!'

telegraf_controller --no-interactive

Unset RESET_OWNER_PASSWORD after the password has been reset to avoid overwriting the password on each restart.

Configure login security

Three settings govern local sign-in behavior:

SettingDefaultWhere to change
Failed-attempt lockout count5Settings page or LOGIN_LOCKOUT_ATTEMPTS
Lockout duration (in minutes)15Settings page or LOGIN_LOCKOUT_MINUTES
Password complexity levellowSettings page or PASSWORD_COMPLEXITY

Use the Settings page after first startup. Environment variables seed the initial values when Telegraf Controller initializes its settings. For step-by-step instructions and the password complexity matrix, see Manage settings.

These settings only apply to local authentication. LDAP and OIDC providers enforce their own credential policies.

MFA and SSO are not available with local authentication

Local authentication signs users in with a username and password only. For multi-factor authentication or single sign-on, use LDAP or OIDC, where Telegraf Controller delegates to the identity provider’s MFA and SSO policy.

Disable local authentication

Disable local authentication only after you have configured a working external provider and bootstrapped an owner that can sign in through it. The procedure below is irreversible without another restart.

Prerequisites for disabling

  • An active Telegraf Enterprise license.
  • A configured LDAP or OIDC provider that successfully signs users in.
  • An owner whose authProvider is the external provider, bootstrapped with OWNER_AUTH_PROVIDER and OWNER_EXTERNAL_ID on first startup.
  • A Telegraf Controller restart is required to apply the change.

Disable local authentication

Set AUTH_LOCAL_ENABLED to false and restart Telegraf Controller.

Add the variable to your systemd unit file (typically /etc/systemd/system/telegraf-controller.service):

[Service]
Environment=AUTH_LOCAL_ENABLED=false

Reload systemd and restart the service:

sudo systemctl daemon-reload
sudo systemctl restart telegraf-controller

Export the variable or pass it on the command line:

export AUTH_LOCAL_ENABLED=false
telegraf_controller --no-interactive

Set the variable in PowerShell, or pass it on the command line:

$env:AUTH_LOCAL_ENABLED="false"
./telegraf_controller.exe --no-interactive

After restart:

  • The sign-in page no longer offers the Local option.
  • POST /api/auth/login/local returns 403 Forbidden.
  • POST /api/auth/setup returns 403 Forbidden. Bootstrap an alternate owner only through the external provider.
  • The owner can still authenticate through the external provider as long as it remains healthy.

Local is your recovery path

If you disable local authentication and your external provider becomes unreachable, you lose interactive sign-in access until the provider recovers. Keep AUTH_LOCAL_ENABLED=true if you do not have an alternative recovery procedure.

Re-enable local authentication

Set AUTH_LOCAL_ENABLED=true and restart Telegraf Controller. The owner can then sign in with their stored password hash.

Audit events

Local sign-in and sign-out emit the following audit events. They appear in the audit log when audit logging is enabled.

EventDescription
user.loginRecorded after a successful local sign-in.
user.logoutRecorded when a user signs out.

For details on enabling and reviewing audit events, see Audit logs.


Was this page helpful?

Thank you for your feedback!


InfluxDB OSS 2.9.0: API tokens are hashed by default

Stronger token security in InfluxDB OSS 2.9.0 — tokens are hashed on disk by default. Existing tokens are hashed on first startup and can’t be recovered afterward. Capture any plaintext tokens you still need before you upgrade.

View InfluxDB OSS 2.9.0 release notes

Hashed tokens authenticate exactly like unhashed tokens — clients and integrations keep working.

Also new in 2.9.0:

  • Configurable backup compression
  • Restore support for backups containing hashed tokens
  • Tighter Edge Data Replication queue validation
  • Flux upgrade
  • Compaction reliability improvements

Key enhancements in Explorer 1.9

Explorer 1.9 is now available with InfluxQL support, an AI-assisted Flux to SQL converter (beta), and new live sample data simulators.

View Explorer 1.9 release notes

Explorer 1.9 includes new features and improvements that make it easier to query, visualize, and manage data.

Highlights:

  • Flux to SQL converter (beta): Convert Flux queries to SQL with an AI-assisted converter.
  • InfluxQL support: Query data with InfluxQL in the Data Explorer and dashboards, and save and load InfluxQL queries.
  • InfluxQL visualizations: Render line and bar charts from InfluxQL results with per-tag series grouping.
  • Query error history: Review a history of query errors in the query tool.
  • Live sample data simulators: Generate continuous live sample data with new bird data and signal generator simulators.

For more details, see Explorer 1.9 release notes

InfluxDB 3.10 is now available

InfluxDB 3 Core 3.10 adds an automatic catalog format upgrade, a configurable query-concurrency limit, and processing engine improvements.

Key updates in InfluxDB 3 Core 3.10:

  • Catalog format upgrade: the on-disk catalog automatically upgrades from format v2 to v3 on first 3.10 startup. Migration is one-way—back up your catalog before upgrading.
  • --max-concurrent-queries: limit concurrent queries (adjustable at runtime).
  • GET /ready endpoint for readiness probes.
  • Processing engine: cross-database queries and trigger lockdown flags.

For more information, see the InfluxDB 3 Core release notes.

InfluxDB 3.10 is now available

InfluxDB 3 Enterprise 3.10 adds automated backup and restore, row-level deletions, and user management, with an automatic catalog format upgrade and performance preview improvements.

Key updates in InfluxDB 3 Enterprise 3.10:

  • Catalog format upgrade: the on-disk catalog automatically upgrades from format v2 to v3 on first 3.10 startup. Migration is one-way—back up your catalog before upgrading.
  • Automated backup and restore (beta)
  • Row-level deletions
  • User management (authentication and RBAC) — preview
  • Performance preview improvements

Backup and restore, row-level deletions, and the performance preview require the Enterprise storage engine upgrade (opt-in beta). Beta and preview features are subject to breaking changes and aren’t recommended for production use.

For more information, see the InfluxDB 3 Enterprise release notes

Telegraf Enterprise is now generally available

Telegraf Enterprise is now generally available, along with Telegraf Controller v1.0.

Telegraf Enterprise combines Telegraf Controller, a centralized management console for Telegraf, with official support from InfluxData. Manage configurations, monitor fleet health, and operate tens of thousands of Telegraf agents from a single system.

InfluxDB Docker latest tag changing to InfluxDB 3 Core

On September 15, 2026, the latest tag for InfluxDB Docker images will point to InfluxDB 3 Core. To avoid unexpected upgrades, use specific version tags in your Docker deployments.

If using Docker to install and run InfluxDB, the latest tag will point to InfluxDB 3 Core. To avoid unexpected upgrades, use specific version tags in your Docker deployments. For example, if using Docker to run InfluxDB v2, replace the latest version tag with a specific version tag in your Docker pull command–for example:

docker pull influxdb:2