Skip to content

Configuration

All configuration is done via environment variables.

VariableRequiredDefaultDescription
BASE_URL✅—Public URL of the Taco instance (e.g. https://taco.example.com)
AUTH_SECRET✅—32-byte random secret for session signing. Generate with openssl rand -base64 32
VariableRequiredDefaultDescription
DATABASE_URL✅—PostgreSQL connection string (e.g. pgsql://user:pass@host:5432/taco)
DATABASE_DIALECT—postgresqlDatabase dialect. Only postgresql is supported
DATABASE_CLIENT—postgresqlDatabase client. Only postgresql is supported

Taco exposes two unauthenticated probe endpoints for orchestrators (Kubernetes, ECS, load balancers).

  • GET /health — liveness. Always returns 200 { "status": "ok" } as long as the process is serving requests. Has no dependency checks — use this for startup/liveness probes.
  • GET /health/ready — readiness. Returns 200 { "status": "ok" } only when the database is reachable, the login subsystem is correctly configured, and the configured PROVIDER can be reached (this makes a real call against the provider, obtaining a token where the provider requires one). Returns 503 { "status": "unavailable" } if any check fails. The response never includes which check failed or any error detail — that’s logged server-side only, so the probe can’t be used to fingerprint internal infrastructure.

No environment variables are needed to enable these endpoints — they check the app’s existing configuration.

VariableRequiredDefaultDescription
CRON_ENABLED—trueThe server runs its scheduled tasks itself (webhook delivery every minute, expiry and retention daily at 03:17 UTC, the security posture scan daily at 03:00 UTC), and once at startup unless they ran in the last minute or the last 24 hours. false stops the shared tasks in that process, e.g. for a replica that should not run them
VariableRequiredDefaultDescription
EMAIL_FROM✅—Sender address (e.g. Taco <noreply@example.com>)
EMAIL_SERVER✅—SMTP connection string (e.g. smtps://user:pass@smtp.example.com)

Protect the Taco dashboard itself behind an upstream OIDC provider.

VariableRequiredDefaultDescription
AUTH_CLIENT_OPENID_CONFIGURATION_URL——Discovery URL of the upstream OIDC issuer
AUTH_CLIENT_ID——OIDC client ID for Taco’s own login
AUTH_CLIENT_SECRET——OIDC client secret
AUTH_CLIENT_SCOPE—openid profile emailRequested scopes
VariableRequiredDefaultDescription
PROVIDER✅—Provisioning backend: ory, auth0, entra, okta, keycloak, or rfc7592. Formerly OPENID_PROVIDER, still accepted (deprecated)
TACO_READ_ONLY—falsetrue makes the deployment read-only: taco never writes to the identity provider (create, update, delete, clone, rotate secret, disable, APIs). Writes are refused with 403, the UI hides the controls, /api/v1/capabilities reports readOnly: true and provisioning API calls answer 403 read_only. Scans, exports and ownership assignment keep working. See read-only credentials
PROVIDER_CLIENTS_MAX—1000Most clients Taco lists from the provider at once (Applications list, CSV export, statistics, API extraction). Taco follows the provider’s pagination up to this cap

Generic credentials Taco uses to call the selected provider’s management API. Not needed for Auth0, Entra ID, Okta, Keycloak, or Amazon Cognito, which use their own provider-specific variables (see below).

VariableRequiredDefaultDescription
OPENID_PROVIDER_AUTH_TYPE——none or client_credentials
OPENID_PROVIDER_AUTH_ISSUERwhen client_credentials—Token endpoint issuer used to fetch admin access tokens
OPENID_PROVIDER_AUTH_CLIENT_IDwhen client_credentials—Admin client ID
OPENID_PROVIDER_AUTH_CLIENT_SECRETwhen client_credentials—Admin client secret
OPENID_PROVIDER_AUTH_TOKEN_METHOD—client_secret_postclient_secret_post or client_secret_basic
OPENID_PROVIDER_AUTH_SCOPE——Scope requested for the admin access token
OPENID_PROVIDER_AUTH_AUDIENCE——Audience requested for the admin access token

Provider-specific variables (ORY_ADMIN_URL, AUTH0_DOMAIN, ENTRA_*, OKTA_*, KEYCLOAK_*, COGNITO_*, RFC7592_BASE_URL) are documented on each provider’s own page — see Providers. ORY_ADMIN_URL was formerly ORY_BASE_URL, and KEYCLOAK_CLIENT_ID|SECRET were KEYCLOAK_ADMIN_CLIENT_ID|SECRET; the old names are still accepted (deprecated).

Statistics aggregation (Team / Business tiers)

Section titled “Statistics aggregation (Team / Business tiers)”
VariableRequiredDefaultDescription
STATS_CRON_SECRET✅—Bearer token required by POST /api/cron/aggregation
STATS_AGGREGATION_INTERVAL_MINUTES—1440Business tier only — aggregation interval in minutes
STATS_WEBHOOK_SECRET——Shared secret for POST /api/events/ingest (X-Webhook-Secret header or bearer token). When unset, the endpoint rejects every request

Public API (/api/v1, Team / Business tiers)

Section titled “Public API (/api/v1, Team / Business tiers)”

Taco’s public API is a bearer-token resource server — it validates tokens issued by an external authorization server and never issues its own. See Public API for the full endpoint reference.

VariableRequiredDefaultDescription
API_AUTH_MODE✅—jwt or opaque
API_AUTH_ISSUER✅—Authorization server issuer URL
API_AUTH_AUDIENCE✅—Expected aud claim on incoming access tokens (jwt mode)
API_AUTH_JWKS_URIwhen jwt—JWKS endpoint used to verify token signatures
API_AUTH_INTROSPECTION_URLwhen opaque—RFC 7662 introspection endpoint
API_AUTH_INTROSPECTION_CLIENT_IDwhen opaque—Client ID Taco uses to authenticate to the introspection endpoint
API_AUTH_INTROSPECTION_CLIENT_SECRETwhen opaque—Client secret for the introspection endpoint
API_AUTH_SCOPE_CLAIM—scopeClaim (JWT) or introspection field read as the space-delimited scope list
API_AUTH_ALLOW_INSECURE_REQUESTS—falseDev only — allows API_AUTH_ISSUER/JWKS/introspection URLs to be http:// instead of https://. Not gated by NODE_ENV (which next start forces to production) — must be set explicitly.
API_DEFAULT_ORGANIZATION_ENABLED—falseEnables the unprefixed convenience routes (e.g. GET /api/v1/registrations) that resolve the organization from the caller’s default-organization mapping