All Environment Variables
Reference of all Pilot environment variables, grouped by area. For explanations with examples, see Configuration.
Core
| Variable | Default | Description |
|---|---|---|
GOMEMLIMIT | 90% of the container memory limit | Go memory limit. Unset: 90% of the container memory limit, or none without a container limit. off disables it. See Resource Sizing |
KAFKA_AUTO_OFFSET_RESET | latest | No effect; kept for compatibility |
KAFKA_BOOTSTRAP_SERVERS | localhost:9092 | Kafka broker addresses (comma-separated) |
LOG_LEVEL | INFO | Log level: DEBUG, INFO or WARN (case-insensitive). Any other value uses INFO |
METADATA_UPDATE_INTERVAL | 10s | Metadata collection frequency. HA requires 20s or less |
PORT | 8080 | HTTP server port |
UI_PATH | ./ui/dist | Path to UI assets (overridden when embedded) |
High Availability
| Variable | Default | Description |
|---|---|---|
PILOT_HA_BINDING_NAME | pilot-ha-binding | ConfigMap the first start records the installation in; the Helm chart creates it empty |
PILOT_HA_ENABLED | false | Enable one active Pilot with cold standbys on Kubernetes; invalid values fail startup |
PILOT_HA_ENDPOINT_SLICE_NAME | pilot-active | EndpointSlice that routes the Service to the active replica |
PILOT_HA_LEASE_NAME | pilot-ha | Lease that elects the active replica |
PILOT_HA_MAX_REQUEST_PARTITIONS | 1000 | Most partitions in one Kafka request of an HA operation, 1 to 10,000. With HA enabled, a value outside the range stops Pilot at startup |
PILOT_HA_SERVICE_NAME | pilot | Selectorless Service clients connect to |
POD_IP | "" | HA Downward API status.podIP; must match the enrolled address family |
POD_NAME | "" | HA Downward API metadata.name |
POD_NAMESPACE | "" | HA Downward API metadata.namespace |
POD_UID | "" | HA Downward API metadata.uid |
The Helm chart sets PILOT_HA_* from its ha values and POD_* through the Downward API, and its config map and extraEnv refuse them.
Pilot checks its HA settings at startup and stops with a message that names the setting to fix. See High Availability for requirements and the list of checks.
Server TLS
| Variable | Default | Description |
|---|---|---|
SERVER_TLS_CERT_FILE | "" | Path to TLS certificate file (PEM) |
SERVER_TLS_ENABLED | false | Enable HTTPS for the Pilot HTTP server |
SERVER_TLS_KEY_FILE | "" | Path to TLS private key file (PEM) |
SERVER_TLS_MIN_VERSION | 1.2 | Minimum TLS version: 1.2 or 1.3 |
Kafka Security
| Variable | Default | Description |
|---|---|---|
KAFKA_SASL_KERBEROS_CONFIG_FILE | "" | Path to Kerberos config file (krb5.conf) |
KAFKA_SASL_KERBEROS_KEYTAB_FILE | "" | Path to Kerberos keytab file |
KAFKA_SASL_KERBEROS_PASSWORD | "" | Kerberos password (if not using keytab) |
KAFKA_SASL_KERBEROS_REALM | "" | Kerberos realm |
KAFKA_SASL_KERBEROS_SERVICE_NAME | kafka | Kerberos service name |
KAFKA_SASL_KERBEROS_USERNAME | "" | Kerberos principal name |
KAFKA_SASL_MECHANISM | PLAIN | SASL mechanism: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI, OAUTHBEARER |
KAFKA_SASL_OAUTH_CLIENT_ID | "" | OAuth client ID |
KAFKA_SASL_OAUTH_CLIENT_SECRET | "" | OAuth client secret |
KAFKA_SASL_OAUTH_EXTENSIONS | "" | SASL OAUTHBEARER extensions sent to the brokers (comma-separated key=value); not sent to the token endpoint |
KAFKA_SASL_OAUTH_SCOPE | "" | OAuth scope |
KAFKA_SASL_OAUTH_TOKEN_ENDPOINT_URL | "" | OAuth token endpoint URL |
KAFKA_SASL_PASSWORD | "" | SASL password (PLAIN/SCRAM) |
KAFKA_SASL_USERNAME | "" | SASL username (PLAIN/SCRAM) |
KAFKA_SECURITY_PROTOCOL | PLAINTEXT | Security protocol: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL |
KAFKA_SSL_CA_CERT_FILE | "" | Path to CA certificate file. Trusted for broker TLS and, with OAUTHBEARER, for the HTTPS token endpoint (in addition to the system roots) |
KAFKA_SSL_CA_CERT_PEM | "" | CA certificate PEM content (inline). Same trust scope as KAFKA_SSL_CA_CERT_FILE |
KAFKA_SSL_CERT_FILE | "" | Path to the client certificate (PEM, chain allowed) for mutual TLS. Needs a key via KAFKA_SSL_KEY_FILE or KAFKA_SSL_KEY_PEM. See Mutual TLS |
KAFKA_SSL_CERT_PEM | "" | Client certificate PEM content (inline). Used instead of KAFKA_SSL_CERT_FILE when both are set |
KAFKA_SSL_ENABLED_PROTOCOLS | TLSv1.2,TLSv1.3 | Not applied. The Kafka client uses TLS 1.2 or 1.3 |
KAFKA_SSL_INSECURE_SKIP_VERIFY | false | Skip TLS certificate verification for brokers and the OAUTHBEARER token endpoint (insecure) |
KAFKA_SSL_KEY_FILE | "" | Path to the client private key (PEM: PKCS#1, PKCS#8, EC, or PKCS#8 encrypted) for mutual TLS. Needs a certificate via KAFKA_SSL_CERT_FILE or KAFKA_SSL_CERT_PEM |
KAFKA_SSL_KEY_PASSWORD | "" | Password of a PKCS#8 encrypted client key (BEGIN ENCRYPTED PRIVATE KEY). Ignored, with a warning, when the key is not encrypted |
KAFKA_SSL_KEY_PEM | "" | Client private key PEM content (inline). Used instead of KAFKA_SSL_KEY_FILE when both are set |
KAFKA_SSL_VERIFY_HOSTNAME | true | Verify broker hostname against certificate. false skips only the hostname match; the certificate chain is still verified |
Balance Engine
| Variable | Default | Description |
|---|---|---|
PILOT_BALANCE_FLOOR | "" (off) | Optional minimum difference, for example bytes=2MB/s disk=2GiB. Smaller differences between brokers are not balanced. Unset or off disables it. An invalid value stops Pilot at startup. See Minimum Difference |
PILOT_BALANCE_MIN_RF | 0 | Minimum replication factor enforcement (0 = disabled) |
PILOT_BALANCE_RACK_AWARE | true | Enforce rack-aware partition placement |
PILOT_BALANCE_THRESHOLD | 5.0 | Applies per broker and load: Pilot moves partitions only when a broker stays more than twice this percentage from its fair share (10% at the default), then evens that load until every broker is within this percentage, give or take one partition. Must be greater than 0. See Even Balance |
PILOT_BALANCE_WORKERS | 0 | Parallel workers Pilot uses to compute proposals (0 = one per CPU core available to the container). The result is the same for any value |
PILOT_BROKER_PROFILE | "" | Broker capacity, for example network=10Gbit/s disk=2TiB. Used to report network and disk utilization; does not change balancing. An invalid value stops Pilot at startup. See Broker Profiles |
PILOT_BROKER_PROFILE_FILE | "" | Path to a broker profile file (same rules, one per line, # comments). Set only one of PILOT_BROKER_PROFILE and PILOT_BROKER_PROFILE_FILE |
Movement Control
| Variable | Default | Description |
|---|---|---|
PILOT_MOVE_MAX_PER_BROKER | 20 | Max concurrent moves per broker |
PILOT_PROPOSAL_MAX_PARTITIONS | 0 | Max partitions a single proposal may move (0 = unlimited). When a plan exceeds the cap, the least useful moves are dropped first. Critical and replication-factor fixes are always kept |
Throttle
| Variable | Default | Description |
|---|---|---|
PILOT_THROTTLE_MANAGED | true | Pilot sets and removes the replication throttles for its moves. Set false only if you manage throttles outside Pilot. See Throttle |
PILOT_THROTTLE_MAX_RATE_MB | 1000 | Highest throttle that can be set at runtime, in MB/s. Must not be below PILOT_THROTTLE_RATE_MB |
PILOT_THROTTLE_RATE_MB | 50 | Base throttle rate in MB/s. Must be >= 1 when PILOT_THROTTLE_MANAGED=true, HA included (0 or negative is rejected at startup) |
Self-Healing
| Variable | Default | Description |
|---|---|---|
PILOT_HEAL_CRITICAL_ENABLED | false | Enable critical fixes healing (URP, rack) |
PILOT_HEAL_CRITICAL_INTERVAL | 5m | Critical healing check interval |
PILOT_HEAL_DRY_RUN | true | Simulate healing without applying changes |
PILOT_HEAL_ENABLED | false | Enable activity-based healing |
PILOT_HEAL_INTERVAL | 30m | Activity healing interval |
PILOT_HEAL_MAX_PARTITIONS_PER_RUN | 0 | Max partitions moved per healing cycle (0 = unlimited) |
PILOT_HEAL_RF_ENABLED | false | Enable replication factor increase healing |
PILOT_HEAL_RF_INTERVAL | 15m | RF healing check interval |
PILOT_HEAL_WINDOW_END | -1 | Healing window end hour (0-23, -1 = always) |
PILOT_HEAL_WINDOW_START | -1 | Healing window start hour (0-23, -1 = always) |
Exclusions & Observability
| Variable | Default | Description |
|---|---|---|
PILOT_BROKER_EXPIRY | 1h | How long a broker must be unavailable, and hold no replicas, before Pilot forgets it. This keeps brokers you removed for good from showing as unavailable forever. 0 disables it. A broker that comes back is tracked again. |
PILOT_EXCLUDE_TOPICS | "" | Comma-separated topic regexes to leave out of proposals and self-healing (unanchored) |
PILOT_FOLLOWER_LAG_WARNING_THRESHOLD | 1000 | Warning threshold for total follower lag. When total cluster follower lag exceeds this value, the health endpoint reports a warning. |
Consumer Groups
| Variable | Default | Description |
|---|---|---|
PILOT_CONSUMER_GROUP_COLLECTION_ENABLED | true | Enable background consumer group collection |
PILOT_CONSUMER_GROUP_COLLECTION_INTERVAL | 15s | Collection interval |
CORS
| Variable | Default | Description |
|---|---|---|
CORS_ALLOWED_ORIGINS | * | Allowed origins (comma-separated) |
CORS_ALLOWED_METHODS | GET,POST,PUT,DELETE,OPTIONS | Allowed methods (comma-separated) |
CORS_ALLOWED_HEADERS | * | Allowed request headers (comma-separated) |
CORS_EXPOSED_HEADERS | "" | Response headers exposed to the browser (comma-separated) |
CORS_ALLOW_CREDENTIALS | false | Allow credentials on cross-origin requests |
CORS_MAX_AGE | 0 | Preflight cache duration in seconds |
An empty list means *.
Pilot Agent
| Variable | Default | Description |
|---|---|---|
PILOT_AGENT_BOOTSTRAP_TOKEN | required | Master token for agent certificate enrollment. Required whenever Pilot signs agent certificates (auto-TLS or a mounted CA). Generate with openssl rand -hex 32 |
PILOT_AGENT_CA_CERT_FILE | "" | PEM bundle of one or more CA certificates. With PILOT_AGENT_CA_KEY_FILE, Pilot signs agent certificates with this CA. Cannot be combined with PILOT_AGENT_TLS_CERT, _KEY or _CA. See Pilot Agent |
PILOT_AGENT_CA_KEY_FILE | "" | Unencrypted private key (PKCS #8, SEC 1 or PKCS #1) of the signing CA, one of the certificates in PILOT_AGENT_CA_CERT_FILE. Required with it |
PILOT_AGENT_DATA_DIR | /data/agent-certs | Directory for auto-generated CA and certificates |
PILOT_AGENT_ENABLED | false | Enable the agent gRPC server |
PILOT_AGENT_GRPC_PORT | 9190 | Port for agent gRPC connections. Standalone uses 9190 for a value it cannot read; HA refuses to start with one, or with a port equal to PORT or 8081, even with the Pilot Agent disabled |
PILOT_AGENT_INSECURE | false | Allow gRPC server without TLS (development only) |
PILOT_AGENT_TLS_CA | (auto) | Path to CA certificate for verifying agents |
PILOT_AGENT_TLS_CERT | (auto) | Path to server TLS certificate |
PILOT_AGENT_TLS_KEY | (auto) | Path to server TLS private key |
PILOT_AGENT_TLS_SANS | "" | DNS names or IP addresses for the server certificate Pilot issues with auto-TLS or a mounted CA (comma-separated). Agents verify the host they dial against them; a mounted CA needs at least one. For agents outside Kubernetes, name the L4 route here |
PILOT_DEPLOY_ALLOW_HTTP | false | Allow SSH deploy endpoints over plain HTTP. By default, deploy endpoints that transmit SSH credentials require HTTPS |
PILOT_TRUSTED_PROXIES | "" (trust all) | Comma- or space-separated CIDRs or IPs of reverse proxies whose X-Forwarded-Proto and X-Forwarded-Host Pilot trusts, for the HTTPS check on SSH deploy endpoints and the URLs given to agents. Unset trusts every source; set it when clients can reach Pilot without the proxy. Invalid entries are skipped with a warning |
PILOT_AGENT_DOWNLOAD_URL | https://downloads.calinora.io/agent/v{version}/pilot-agent-linux-{arch} | Upstream URL template for downloading agent binaries. Supports {version} and {arch} placeholders. Override for corporate proxies (JFrog, Nexus) |
PILOT_AGENT_BINARY_DIR | "" | Local directory for air-gapped mode. When set, Pilot reads agent binaries from this directory and does not download from the upstream URL |
PILOT_AGENT_BINARY_CACHE_DIR | {data-dir}/binaries | Directory where downloaded agent binaries are cached on disk |
PILOT_AGENT_SSH_KNOWN_FINGERPRINTS | "" | Comma-separated SSH host-key fingerprints (SHA256:<base64>) trusted for agent deploys. See agent SSH host key verification |
Pilot Agent (Agent-Side)
These variables configure the agent binary deployed alongside each Kafka broker. They are set on the agent, not on the Pilot server.
| Variable | Default | Description |
|---|---|---|
AGENT_BOOTSTRAP_TOKEN | "" | Token for certificate enrollment (master token or single-use enrollment token) |
AGENT_BOOTSTRAP_URL | "" | URL for certificate bootstrapping (e.g., http://pilot:8080/api/v1/agents/bootstrap-cert) |
AGENT_BROKER_ID | (auto-detected) | Kafka broker ID. Auto-detected from server.properties or meta.properties if not set |
AGENT_CA | "" | Path to CA certificate for server verification |
AGENT_CERT | "" | Path to mTLS client certificate |
AGENT_INSECURE | false | Allow running without TLS (development only) |
AGENT_KEY | "" | Path to mTLS client private key |
AGENT_LOG_DIRS | "" | Kafka log directories (comma-separated). Auto-detected from the running broker process if not set |
AGENT_NODE_ID | (hostname) | Node identifier (defaults to system hostname) |
AGENT_SERVER | "" | Pilot gRPC server address (e.g., pilot:9190) |
AGENT_KAFKA_SERVICE_UNIT | "" | Override systemd unit name for broker lifecycle commands (e.g., my-kafka.service) |
AGENT_KAFKA_START_CMD | "" | Override broker start command |
AGENT_KAFKA_STOP_CMD | "" | Override broker stop command |
AGENT_ALLOW_RESTART | true | Permit restart/stop/start commands. Set to false to disable broker lifecycle management on this agent. Accepts true/false, 1/0 and t/f, in lower, upper or title case (TRUE, True); any other value stops the agent at startup |
AGENT_DOCKER_CONTAINER | "" | Docker container name to manage for lifecycle operations (docker stop/start/restart). Required for containerized brokers when using pid: "host" |
MCP Server
| Variable | Default | Description |
|---|---|---|
PILOT_MCP_ENABLED | true | Enable Model Context Protocol server |
PILOT_MCP_WRITE_ENABLED | false | Let MCP clients with a write-scoped PAT or MCP OAuth token change the cluster. Needs a sign-in provider; without one, writes stay off and Pilot logs an error at startup. Does not affect the built-in assistant. See Mutation Execution |
AUTH_MCP_OAUTH_PROVIDER | "" | Enabled OAuth provider used for MCP resource access; requires a trusted issuer |
AUTH_MCP_OAUTH_RESOURCE_URL | "" | Canonical resource URL with path /api/v1/mcp; HTTPS required except HTTP loopback development; no query, fragment, or user information |
AUTH_MCP_OAUTH_AUDIENCE | "" | Exact JWT resource audience (aud); Entra API registration application ID, not the public client’s ID |
AUTH_MCP_OAUTH_READ_SCOPE | "" | Delegated read scope, such as https://pilot.example.com/api/v1/mcp/mcp.read |
AUTH_MCP_OAUTH_WRITE_SCOPE | "" | Delegated mutation scope, such as https://pilot.example.com/api/v1/mcp/mcp.write; must differ from the read scope |
Configure all five AUTH_MCP_OAUTH_* values together. For Entra, the API Application ID URI must equal the canonical HTTPS resource URL and prefix both scopes. Use an HTTPS development endpoint or PAT authentication for local HTTP. See MCP OAuth for Entra registration, PKCE callbacks, and Codex login. MCP resource audience validation uses AUTH_MCP_OAUTH_AUDIENCE instead of AUTH_<PROVIDER>_ALLOWED_AUDIENCES and requires aud; it does not accept azp in its place. Provider domain, group, and organization restrictions still apply.
AI Chat
| Variable | Default | Description |
|---|---|---|
PILOT_CHAT_API_KEY | "" | API key for chat provider (required if chat enabled) |
PILOT_CHAT_APPROVAL_TIMEOUT | 5m | User approval window for mutations |
PILOT_CHAT_BASE_URL | "" | Override API base URL. Azure OpenAI: https://<resource>.openai.azure.com/openai (trailing /openai required) |
PILOT_CHAT_CONVERSATION_TTL | 24h | Conversation expiry time |
PILOT_CHAT_ENABLED | false | Enable AI chat assistant |
PILOT_CHAT_MAX_CONTEXT_TOKENS | 30000 | Estimated context-token budget per request (history + tool catalog); min 4096 |
PILOT_CHAT_MAX_CONVERSATIONS | 10 | Max conversations per user |
PILOT_CHAT_MAX_TOKENS | 4096 | Max response tokens |
PILOT_CHAT_MAX_TOOL_RESULT_CHARS | 8000 | Max characters of each tool result kept in conversation context; min 1000 |
PILOT_CHAT_MODEL | claude-haiku-4-5-20251001 | AI model to use. For Azure OpenAI, the deployment name |
PILOT_CHAT_OPENAI_API | auto | OpenAI only: auto, responses, or chat_completions. auto uses Responses for GPT-5/GPT-6 model names and Chat Completions otherwise |
PILOT_CHAT_PROVIDER | anthropic | Chat provider: anthropic or openai |
PILOT_CHAT_RATE_LIMIT | 20 | Messages per minute per user |
The chat HTTP client honors the standard Go SSL_CERT_FILE / SSL_CERT_DIR variables; see AI Chat configuration for Azure OpenAI and corporate CA setup.
License
| Variable | Default | Description |
|---|---|---|
LICENSE_FETCH_INTERVAL | 1h | Auto-fetch interval |
LICENSE_FETCH_SUBSCRIPTION_ID | "" | Subscription ID for auto-fetch |
LICENSE_FETCH_TOKEN | "" | Per-customer fetch token |
LICENSE_FETCH_URL | https://license.calinora.io/api/license/fetch | License fetch endpoint |
LICENSE_STRING | "" | JWT license token |
Audit Logging
| Variable | Default | Description |
|---|---|---|
AUDIT_ENABLED | true | Enable audit event logging. HA refuses to start with false, 0 or no |
AUDIT_PARTITIONS | 1 | Audit topic partition count |
AUDIT_REPLICATION_FACTOR | 0 | Replication factor for a new audit topic. 0 uses the brokers’ default.replication.factor. See Audit Logging |
AUDIT_RETENTION_MS | 2592000000 | Audit topic retention in milliseconds (default 30 days) |
AUDIT_STORE_MAX_ITEMS | 10000 | Max audit events kept in memory for the UI |
AUDIT_TOPIC | __pilot_audit_log | Kafka topic name for audit events |
AUDIT_USER_ID_CLAIM | upn | Identity recorded as userId: upn (default), sub or email. Other values fall back to upn, then sub, then email |
Authentication (UI & API)
Global
| Variable | Default | Description |
|---|---|---|
AUTH_COOKIE_DOMAIN | "" | Cookie domain scope |
AUTH_COOKIE_NAME | pilot_session | Session cookie name |
AUTH_COOKIE_SECRET | "" | HMAC signing key (auto-generated in dev) |
AUTH_COOKIE_SECURE | true | HTTPS-only cookies |
AUTH_DEBUG_EXPOSE_TOKENS | false | Expose raw tokens in /auth/me (debug only) |
AUTH_SESSION_TTL | 12h | Session time-to-live. In HA, logout does not revoke a copied session cookie before it expires |
Per-Provider (AUTH_<PROVIDER>_*)
Replace <PROVIDER> with ENTRAID, GOOGLE, GITHUB, or OIDC. AUTH_<PROVIDER>_ENABLED must be present in the environment for the rest of a provider’s block to be read.
| Variable | Default | Description |
|---|---|---|
AUTH_<PROVIDER>_ALLOWED_AUDIENCES | <client-id> | Allowed token audiences (comma-separated), matched against a token’s aud and azp. Defaults to the client id (Entra ID also accepts api://<client-id>) so a bearer JWT must be minted for this deployment. A provider with no client id and no allowlist rejects every bearer JWT |
AUTH_<PROVIDER>_ALLOWED_DOMAINS | "" | Allowed email domains (comma-separated). Matched against the email resolved via AUTH_<PROVIDER>_EMAIL_CLAIM |
AUTH_<PROVIDER>_ALLOWED_GROUPS | "" | Allowed groups (comma-separated). Matched against the groups resolved via AUTH_<PROVIDER>_GROUPS_CLAIM |
AUTH_<PROVIDER>_ALLOWED_ORGANIZATIONS | "" | Allowed organizations (comma-separated) |
AUTH_<PROVIDER>_ALLOW_SIGN_UP | true | Allow new user registration |
AUTH_<PROVIDER>_API_URL | "" | Userinfo endpoint URL |
AUTH_<PROVIDER>_AUTH_URL | "" | OAuth authorization URL |
AUTH_<PROVIDER>_AUTO_LOGIN | false | Auto-redirect to provider login |
AUTH_<PROVIDER>_CLIENT_ID | "" | OAuth client ID |
AUTH_<PROVIDER>_CLIENT_SECRET | "" | OAuth client secret |
AUTH_<PROVIDER>_EMAIL_CLAIM | "" | Claim used for the session email and ALLOWED_DOMAINS. Consulted first when set; default chain email, preferred_username, upn is the fallback |
AUTH_<PROVIDER>_ENABLED | false | Enable this provider |
AUTH_<PROVIDER>_GROUPS_CLAIM | "" | Claim used for session groups and ALLOWED_GROUPS. Consulted first when set; default chain groups, roles, role, group is the fallback (first present non-empty key wins). Accepts an array or a single string. AD FS: roles |
AUTH_<PROVIDER>_ISSUER | "" | OIDC issuer. Trust anchor for bearer JWT and id_token verification; required for local signature checking. A trailing slash is ignored when matching a token’s iss |
AUTH_<PROVIDER>_JWKS_CACHE_TTL | 15m | How long fetched signing keys are cached |
AUTH_<PROVIDER>_JWKS_URL | "" | JWKS endpoint. Overrides discovery from the issuer (still requires AUTH_<PROVIDER>_ISSUER). Must be an absolute http/https URL; anything else is ignored |
AUTH_<PROVIDER>_NAME | Auto | Display name |
AUTH_<PROVIDER>_SCOPES | openid email profile | OAuth scopes |
AUTH_<PROVIDER>_TOKEN_URL | "" | OAuth token URL |
AUTH_<PROVIDER>_USERNAME_CLAIM | "" | Claim used for the session username (UPN). Consulted first when set; default chain upn, preferred_username is the fallback. AD FS: upn |
AUTH_<PROVIDER>_USE_PKCE | true | Enable PKCE |
AUTH_<PROVIDER>_USE_REFRESH_TOKEN | true | Enable refresh tokens |
Personal Access Tokens
| Variable | Default | Description |
|---|---|---|
AUTH_PAT_ENABLED | false | Enable PAT creation and validation (requires auth and AUTH_PAT_HASH_SECRET). HA refuses to start with it and no enabled OAuth/OIDC provider |
AUTH_PAT_HASH_SECRET | "" | Required for PATs. HMAC-SHA256 secret for token hashing. Must be stable and persistent. |
AUTH_PAT_MAX_PER_USER | 10 | Maximum tokens per user that are neither revoked nor expired |
Entra ID Convenience
| Variable | Default | Description |
|---|---|---|
AUTH_ENTRAID_TENANT | "" | Azure tenant ID (auto-derives auth/token/issuer URLs) |