Documentation

Authentication and authorization

Telegraf Controller distinguishes two security questions:

  • Authentication: who is making this request? Verified by a sign-in flow (local, LDAP, or OIDC) or by a presented API token.
  • Authorization: what is the authenticated identity allowed to do? Determined by the user’s role and by endpoint-level access policies.

This page is the reference for both. For task-based instructions, see Authentication and Manage users.

Authentication providers

Telegraf Controller supports three authentication providers that can run individually or together:

ProviderAvailabilityHow users sign in
LocalFree tierUsername and password stored in Telegraf Controller
LDAPTelegraf EnterpriseBind against an LDAP or Active Directory server
OIDCTelegraf EnterpriseAuthorization code + PKCE flow with an OIDC provider

Each provider is enabled at startup with a dedicated environment variable (AUTH_LOCAL_ENABLED, AUTH_LDAP_ENABLED, AUTH_OIDC_ENABLED). Provider transport settings are read once at startup and immutable until restart. Provisioning rules and group-to-role mappings are stored in the database and editable at runtime from the Settings page.

For setup instructions, see:

Identity model

Every user account carries an authProvider (local, ldap, or oidc) and, for external providers, an externalId that links the account to the identity in the source directory or identity provider:

  • Local users have a stored password hash and are subject to the configured password complexity, lockout, and reset policies.
  • LDAP users have no password hash; authentication is delegated to the LDAP server. The externalId is the user’s distinguished name (DN).
  • OIDC users have no password hash; authentication is delegated to the OIDC provider. The externalId is the sub claim from the ID token.

First-time sign-in and provisioning

When an LDAP or OIDC user signs in for the first time, Telegraf Controller applies the provider’s provisioning strategy to decide whether to create a Telegraf Controller account:

  • invite_only: requires a matching pending invite (default).
  • domain_restricted: admits invited users; otherwise requires an email domain in the allow list.
  • auto_create: creates an account for any user the provider authenticates.

The provider’s default role and group-to-role mappings determine the new account’s role.

For setup details, see Authentication.

Owner account behavior

The owner is the only account that:

  • Always retains a local password hash, even if its primary authProvider is ldap or oidc. The hash provides a recovery credential if the external provider becomes unreachable.
  • Cannot be downgraded by group-to-role mappings. Owner is reserved.
  • Cannot be auto-linked from an external provider. Account-takeover protection prevents an external sign-in from claiming the owner record.

Only the owner can change the LDAP and OIDC sections of the Settings page (PATCH /api/auth/settings). Administrators can change local login security but not external provider configuration.

User roles

Telegraf Controller enforces a four-tier role hierarchy. Each role inherits the permissions of the roles below it, and higher roles unlock additional administrative capabilities.

RoleDescription
OwnerFull system access. Manages users, tokens, settings, and authentication providers. Only one owner exists at a time. Created during initial setup.
AdministratorFull system access. Same capabilities as the owner except cannot transfer ownership or modify LDAP/OIDC settings.
ManagerManages configurations, agents, labels, and reporting rules. Manages own API tokens. Cannot manage users or settings.
ViewerRead-only access to configurations, agents, labels, and reporting rules. Cannot manage tokens, users, or settings.

Only one owner can exist at a time. The owner account is created during initial setup and cannot be deleted. If you need to change the owner, the current owner must transfer ownership to another user.

To change the owner of your Telegraf Controller instance, see Transfer ownership.

API tokens

API tokens authenticate programmatic API requests and Telegraf agent connections to Telegraf Controller.

Each token is scoped to the user who created it. The token’s effective permissions are restricted to the creating user’s role. A token cannot exceed the permissions of its owner. If a user’s role changes to a role with less permissions, all of that user’s existing tokens are automatically updated with restricted permissions or revoked to match the new role.

Tokens use the tc-apiv1_ prefix, making them easy to identify in configuration files and scripts.

A token value is shown only once at the time of creation. Store it in a secure location immediately. You cannot retrieve it later.

API tokens are independent of the authentication provider that created the underlying user account. An LDAP user, an OIDC user, and a local user all issue tokens the same way.

Endpoint authentication

By default, Telegraf Controller requires authentication for API endpoints. Operators can selectively disable authentication for individual endpoint groups at startup:

  • Agents: agent management endpoints
  • Configs: configuration management endpoints
  • Labels: label management endpoints
  • Reporting rules: reporting rule management endpoints
  • Heartbeat: agent heartbeat endpoints

When authentication is enabled for an endpoint group, every request to that group must include a valid API token or an active session.

Endpoint authentication policy is independent of the user authentication provider configuration. Disabling endpoint authentication for a group removes the requirement to present a token or session regardless of which provider would otherwise be used.

Endpoint authentication is controlled exclusively by the --disable-auth-endpoints CLI flag or DISABLED_AUTH_ENDPOINTS environment variable, read once at startup and immutable at runtime. To change which endpoint groups skip authentication, update the value and restart Telegraf Controller.

License management

Telegraf Controller exposes two permission resources for the Telegraf Enterprise license:

ResourceActionsRequired roleDescription
licenseread, writeOwnerView, apply, replace, and remove the license.
entitlementsreadAny authenticated userView current entitlements (scale limits, enterprise feature availability) and usage.

Only the Owner can apply, replace, or remove a license.

Any authenticated user, including Viewers, can call GET /api/license/entitlements to read the current entitlements and usage. This endpoint is intended for monitoring and capacity-planning scripts.


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