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.
| Key | Default | Notes |
|---|---|---|
ConnectionStrings__Integrations (or DATABASE_URL) | — | Postgres, key/value or postgresql:// URL form. Secret. |
Integrations__Roles / Integrations__Jobs | Api,Worker / true | Role split for Kubernetes |
Tax__Provider | AvaTax | Simulated for local development only (refused in Production) |
AvaTax__Environment / AvaTax__BaseUrl | Sandbox | Production at go-live |
AvaTax__AccountId / AvaTax__LicenseKey | — | Secret |
Tax__SupportedCountries | US,CA | Add MX for Mexico |
Tax__DefaultTaxCodes | Material=P0000000 | Categories left out (e.g. Labor) must be mapped explicitly |
Fx__Provider | BankOfCanada | Simulated for local development only |
Fx__Currencies | USD,EUR,MXN,GBP,SEK | Imported daily (CAD pivot) |
Fx__BusinessTimeZone | America/New_York | Defines "today" for rate and document dates |
Certificates__RequirePurchaseOrderMatch | true | Resale certificates are job/PO specific |
Certificates__ExpiryWarningDays / Certificates__ExpiredGraceDays | 30 / 30 | Announce certificates expiring within the next N days, or that expired at most N days ago (older ones are never announced or re-invited) |
Messaging__Transport | RabbitMq | InMemory for local runs, tests and the demo; refused in Production |
Messaging__Host / __Port / __VirtualHost | localhost / 5672 / / | One virtual host per environment (exchanges are shared within one) |
Messaging__Username / __Password | guest | Secret. Guest credentials are refused outside Development |
Messaging__UseSsl | false | Required (true, port 5671) outside Development |
Messaging__ConcurrentMessageLimit | 8 | Messages each consumer handles at once (and prefetches) |
Messaging__RetryLaterDelays__0..n | 00:01:00, 00:05:00, 00:15:00, 01:00:00, 04:00:00 | Redelivery waits for messages that can't be handled yet (ADR 0008) |
Messaging__RedeliveryInterval | 00:00:30 | How 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-integrations | Your identity provider. Must be https outside Development (may be empty only on a demo with a demo key) |
RateLimiting__PermitsPerMinute | 1200 | Per signed-in client, on /api |
RateLimiting__AnonymousPermitsPerMinute | 300 | Per client IP, for anything not signed in (docs pages, failed sign-ins) |
Http__ForwardedHeaders | false | true behind a reverse proxy or load balancer: client IP and scheme from the one proxy in front |
Http__MaxRequestBodyBytes / Http__RequestTimeout | 4194304 / 00:01:00 | Larger bodies get 413 payload_too_large |
Docs__Public | true | false 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__Enabled | false | Demo only. Sample data, and the playground pages at / |
Every options class is documented in the .NET reference (for example
AvaTaxOptions, TaxOptions, FxOptions).