Skip to main content

Configuration

Settings come from appsettings.json, then environment variables (Section__Key). Secrets come only from Kubernetes Secrets or the hosting provider's environment, never from the repository.

KeyDefaultNotes
ConnectionStrings__Integrations (or DATABASE_URL)—Postgres, key/value or postgresql:// URL form. Secret.
Integrations__Roles / Integrations__JobsApi,Worker / trueRole split for Kubernetes
Tax__ProviderAvaTaxSimulated for local development only (refused in Production)
AvaTax__Environment / AvaTax__BaseUrlSandboxProduction at go-live
AvaTax__AccountId / AvaTax__LicenseKey—Secret
Tax__SupportedCountriesUS,CAAdd MX for Mexico
Tax__DefaultTaxCodesMaterial=P0000000Categories left out (e.g. Labor) must be mapped explicitly
Fx__ProviderBankOfCanadaSimulated for local development only
Fx__CurrenciesUSD,EUR,MXN,GBP,SEKImported daily (CAD pivot)
Fx__BusinessTimeZoneAmerica/New_YorkDefines "today" for rate and document dates
Certificates__RequirePurchaseOrderMatchtrueResale certificates are job/PO specific
Certificates__ExpiryWarningDays / Certificates__ExpiredGraceDays30 / 30Announce certificates expiring within the next N days, or that expired at most N days ago (older ones are never announced or re-invited)
Messaging__TransportRabbitMqInMemory for local runs, tests and the demo; refused in Production
Messaging__Host / __Port / __VirtualHostlocalhost / 5672 / /One virtual host per environment (exchanges are shared within one)
Messaging__Username / __PasswordguestSecret. Guest credentials are refused outside Development
Messaging__UseSslfalseRequired (true, port 5671) outside Development
Messaging__ConcurrentMessageLimit8Messages each consumer handles at once (and prefetches)
Messaging__RetryLaterDelays__0..n00:01:00, 00:05:00, 00:15:00, 01:00:00, 04:00:00Redelivery waits for messages that can't be handled yet (ADR 0008)
Messaging__RedeliveryInterval00:00:30How often parked messages are checked
Messaging__Publishers__<user>__Entities__0..n— (every message trusted)Broker users allowed to publish to this service and the entities each may act on (* for all). Once set, messages need a verified AMQP user_id (Security). Needs the RabbitMq transport
Authentication__Schemes__Bearer__Authority / __ValidAudiences__0— / pvc-connect-integrationsYour identity provider. Must be https outside Development (may be empty only on a demo with a demo key)
RateLimiting__PermitsPerMinute1200Per signed-in client, on /api
RateLimiting__AnonymousPermitsPerMinute300Per client IP, for anything not signed in (docs pages, failed sign-ins)
Http__ForwardedHeadersfalsetrue behind a reverse proxy or load balancer: client IP and scheme from the one proxy in front
Http__MaxRequestBodyBytes / Http__RequestTimeout4194304 / 00:01:00Larger bodies get 413 payload_too_large
Docs__Publictruefalse stops serving the handbook, the .NET reference and the API reference, and makes the OpenAPI document require a signed-in caller
OTEL_EXPORTER_OTLP_ENDPOINT—Traces and metrics are exported when set
Auth__DemoKey—Demo only. X-Api-Key access with every scope; refused unless Tax__Provider=Simulated
Demo__SeedData / Playground__EnabledfalseDemo only. Sample data, and the playground pages at /

Every options class is documented in the .NET reference (for example AvaTaxOptions, TaxOptions, FxOptions).