Full service URL, e.g. https://<slug>.westyx.dev. Unset, it is read from WESTYX_SERVICE_ENDPOINT - see Service endpoint. The slug embedded in the host is extracted automatically and injected as the Host header on every request (Double-Gate requirement).
ApiKey
string?
null
Raw API key - sent verbatim in X-Nexus-API-Key. Either wxs_... (full access) or wxp_... (public configs and flags only). Optional when Wif.Enabled = true.
Ttl
TimeSpan?
60 s
Local cache TTL. After this elapses, the next read triggers a one-shot background refresh while still serving the stale cache. While the stream is down, the client also syncs once per TTL on its own.
LoggerFactory
ILoggerFactory?
null
Diagnostic logger factory. null discards SDK output. Each subsystem gets its own category (Westyx.Nexus.NexusClient, Westyx.Nexus.Stream, Westyx.Nexus.Wif).
HttpClient
HttpClient?
null
Override the internal HTTP client used for /sync and /token-exchange (mostly for tests). Defaults to a fresh HttpClient with a 10-second timeout.
StreamHandler
HttpMessageHandler?
null
Override the handler used for the long-lived SSE stream client. The stream client is always kept separate from HttpClient so a short consumer timeout cannot truncate the stream.
PooledConnectionLifetime
TimeSpan?
2 min
How long a pooled connection may be reused before the SDK’s own HttpClient instances retire it, so an application-lifetime singleton still observes a DNS change. Ignored when HttpClient is supplied.
Wif
WifConfig?
null
Workload Identity Federation. When Enabled = true, the SDK obtains a workload credential, exchanges it for a session JWT and uses bearer auth instead of the API key. See Workload identity.
Observer
IStreamObserver?
null
Optional structured-callback observer for SSE lifecycle events. See Stream observer.
SseReconnectCooldown
int[]?
[5,10,20,40,60]
Reconnect schedule in minutes after the stream falls back to polling. Must be non-empty with every entry >= 1.
StreamIdleTimeout
TimeSpan?
90 s
How long the SSE stream may go without receiving anything before the SDK reconnects. Reset by every line received, keepalive comments included, and sized against the backend’s 30-second : ping. Must be positive.
StreamConnectTimeout
TimeSpan?
10 s
Bound on the whole SSE connect-to-headers phase, so a server that accepts the connection and sends nothing is caught. Applies even with a supplied StreamHandler. Must be positive.
LogSyncErrors
bool
true
Log each resource the server left out of a sync - a secret with no value, a config whose secret reference did not resolve - as a Warning the first time it appears. The list itself is always on client.SyncErrors.
TimeProvider
TimeProvider?
TimeProvider.System
The clock every time-dependent behaviour reads - the TTL, session refresh, quarantine deadlines, the reconnect schedule. Set it only in a test, to advance time instead of waiting for it.
Environment name
The .NET environment name (Development, Staging, Production) comes from DOTNET_ENVIRONMENT or ASPNETCORE_ENVIRONMENT - DOTNET_ENVIRONMENT wins when both are set with WebApplication.CreateBuilder - or from --environment, and is Production when none is set. The host reads it when the builder is created, before any configuration source is added, so set it as a real environment variable on the process or pod. A Nexus config named ASPNETCORE_ENVIRONMENT arrives after that moment and changes nothing. See Microsoft’s environments documentation.
Service endpoint
With BaseUrl unset or empty, the client reads the endpoint from WESTYX_SERVICE_ENDPOINT (NexusConfig.ServiceEndpointEnvironmentVariable) when it is created. westyx dev run sets the variable for the script’s service, so together with a developer session an application started by it needs neither an endpoint nor a key:
await using var client = await NexusClient.CreateAsync(new NexusConfig{ Wif = new WifConfig { Enabled = true },});
A BaseUrl you set always wins - in NexusConfig and in NexusOptions alike.
The variable is trimmed, and a value empty after trimming counts as unset.
It is validated like the property - https, or http on loopback only - and an error about its value names WESTYX_SERVICE_ENDPOINT rather than BaseUrl.
With neither set, CreateAsync and AddWestyxNexus throw ArgumentException naming both.
The configuration binder does not map the variable onto Nexus:BaseUrl; the client reads it directly, so the rule holds with or without dependency injection.
Validation
A value that cannot be meant is rejected at construction with NexusConfigException, which carries
the offending property in Option:
new NexusConfig { BaseUrl = url, ApiKey = key, Ttl = TimeSpan.Zero }// NexusConfigException: NexusConfig.Ttl: must be positive, got 00:00:00.new NexusConfig { BaseUrl = url, ApiKey = key, SseReconnectCooldown = [5, -5] }// NexusConfigException: NexusConfig.SseReconnectCooldown: entry 1 must be at least 1 minute, got -5.
null selects the default on every optional field, so a default is always expressible without
passing a value that means something else.
API key types
Prefix
Access
Sync response shape
wxs_...
All configs, all secrets, all flags
configs, secrets, and flags populated
wxp_...
All configs and all flags - the same set a secret key sees
secrets field is entirely absent from the response
Calling GetSecret(...) with a public key throws NexusPublicKeyException.
Where to keep the API key
Anywhere IConfiguration already reads - user secrets in development, environment variables, Azure
Key Vault, AWS Secrets Manager, your existing secrets pipeline - but not appsettings.json, which is
committed. The SDK never logs the raw key.
ApiKey = builder.Configuration["Nexus:ApiKey"] // user secrets, or the Nexus__ApiKey environment variable
Logging a NexusConfig
NexusConfig.ApiKey and NexusOptions.ApiKey carry [JsonIgnore] and [IgnoreDataMember], so a configuration serialized through System.Text.Json or Newtonsoft.Json contains the base URL and not the key.Serilog’s destructuring operator honours neither.{@Config} walks public properties directly, so log a config as {Config}:
log.LogInformation("Nexus configured: {Config}", config); // base URL, no keylog.LogInformation("Nexus configured: {@Config}", config); // the key is in your log sink
The same applies to an options type of your own: a record prints its properties from the compiler-generated ToString(), so a secret bound into one reaches any log that prints it. Use a class for a type that holds a secret.
Choosing the TTL
The TTL is a tradeoff between staleness window and redundant network traffic. With SSE enabled, changes propagate in milliseconds regardless of the TTL - the TTL only matters as a safety net if the stream falls back.
Use case
Suggested TTL
Frequently-changing flags, latency-sensitive
30 s
Standard configs with SSE
60 s (default)
Stable production secrets
5 min
Boot-time only, never reread
1 hour
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Westyx Nexus","colors":{"primary":"#a855f7","light":"#a855f7","dark":"#a855f7"},"logo":{"light":"https://mintcdn.com/westyx/SZvVVOurEPriggFG/nexus-logo.webp?fit=max\u0026auto=format\u0026n=SZvVVOurEPriggFG\u0026q=85\u0026s=6ffbf78ce14ec5ee73fe3b569f8953a9","dark":"https://mintcdn.com/westyx/SZvVVOurEPriggFG/nexus-logo.webp?fit=max\u0026auto=format\u0026n=SZvVVOurEPriggFG\u0026q=85\u0026s=6ffbf78ce14ec5ee73fe3b569f8953a9"},"favicon":"https://mintcdn.com/westyx/SZvVVOurEPriggFG/nexus-logo.webp?fit=max\u0026auto=format\u0026n=SZvVVOurEPriggFG\u0026q=85\u0026s=6ffbf78ce14ec5ee73fe3b569f8953a9","appearance":{"default":"dark"},"navbar":{"links":[],"primary":{"type":"button","label":"Go to Console","href":"https://app.westyx.dev"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/westyx"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"westyx","hasAudioNarration":false,"actualSubdomain":"westyx","customDomains":["docs.westyx.dev"],"gitSource":{"type":"gitlab","owner":"westyx/nexus","repo":"public-documentation","projectId":82540509,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aff1d0c144212df22539fef","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"SDKs","count":153},{"language":"default","tag":"Backend SDKs","count":115},{"language":"default","tag":"Browser SDKs","count":33},{"language":"default","tag":".NET","count":21},{"language":"default","tag":"Reference","count":15},{"language":"default","tag":"Platform","count":15},{"language":"default","tag":"Node.js","count":15},{"language":"default","tag":"Python","count":15},{"language":"default","tag":"Go","count":13},{"language":"default","tag":"Kotlin","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"sdks/dotnet/configuration","slug":"/sdks/dotnet/configuration","pageMetadata":{"title":".NET SDK - Configuration","description":"NexusConfig field reference and TTL guidance for the .NET SDK.","href":"/sdks/dotnet/configuration"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"NexusConfig field reference and TTL guidance for the .NET SDK.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`NexusConfig`}),` holds every value a `,_jsx(_components.code,{children:`NexusClient`}),` is created with. Its properties are `,_jsx(_components.code,{children:`init`}),`-only, so a configuration cannot change after the client has it.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` NexusConfig`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` BaseUrl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://\u003cslug>.westyx.dev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// unset: WESTYX_SERVICE_ENDPOINT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ApiKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"wxs_...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// required unless Wif is enabled`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Ttl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TimeSpan`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`FromSeconds`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`60`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// optional, default 60s`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LoggerFactory`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// optional, discards SDK output when null`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` HttpClient`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// optional, for tests`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`field-reference`,children:`Field reference`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BaseUrl`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsxs(_components.td,{children:[`Full service URL, e.g. `,_jsx(_components.code,{children:`https://\u003cslug>.westyx.dev`}),`. Unset, it is read from `,_jsx(_components.code,{children:`WESTYX_SERVICE_ENDPOINT`}),` - see `,_jsx(_components.a,{href:`#service-endpoint`,children:`Service endpoint`}),`. The slug embedded in the host is extracted automatically and injected as the `,_jsx(_components.code,{children:`Host`}),` header on every request (Double-Gate requirement).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ApiKey`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsxs(_components.td,{children:[`Raw API key - sent verbatim in `,_jsx(_components.code,{children:`X-Nexus-API-Key`}),`. Either `,_jsx(_components.code,{children:`wxs_...`}),` (full access) or `,_jsx(_components.code,{children:`wxp_...`}),` (public configs and flags only). Optional when `,_jsx(_components.code,{children:`Wif.Enabled = true`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Ttl`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TimeSpan?`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`60 s`})}),_jsx(_components.td,{children:`Local cache TTL. After this elapses, the next read triggers a one-shot background refresh while still serving the stale cache. While the stream is down, the client also syncs once per TTL on its own.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LoggerFactory`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ILoggerFactory?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsxs(_components.td,{children:[`Diagnostic logger factory. `,_jsx(_components.code,{children:`null`}),` discards SDK output. Each subsystem gets its own category (`,_jsx(_components.code,{children:`Westyx.Nexus.NexusClient`}),`, `,_jsx(_components.code,{children:`Westyx.Nexus.Stream`}),`, `,_jsx(_components.code,{children:`Westyx.Nexus.Wif`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`HttpClient`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`HttpClient?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsxs(_components.td,{children:[`Override the internal HTTP client used for `,_jsx(_components.code,{children:`/sync`}),` and `,_jsx(_components.code,{children:`/token-exchange`}),` (mostly for tests). Defaults to a fresh `,_jsx(_components.code,{children:`HttpClient`}),` with a 10-second timeout.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`StreamHandler`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`HttpMessageHandler?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsxs(_components.td,{children:[`Override the handler used for the long-lived SSE stream client. The stream client is `,_jsx(_components.strong,{children:`always`}),` kept separate from `,_jsx(_components.code,{children:`HttpClient`}),` so a short consumer timeout cannot truncate the stream.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PooledConnectionLifetime`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TimeSpan?`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2 min`})}),_jsxs(_components.td,{children:[`How long a pooled connection may be reused before the SDK’s own `,_jsx(_components.code,{children:`HttpClient`}),` instances retire it, so an application-lifetime singleton still observes a DNS change. Ignored when `,_jsx(_components.code,{children:`HttpClient`}),` is supplied.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Wif`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WifConfig?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsxs(_components.td,{children:[`Workload Identity Federation. When `,_jsx(_components.code,{children:`Enabled = true`}),`, the SDK obtains a workload credential, exchanges it for a session JWT and uses bearer auth instead of the API key. See `,_jsx(_components.a,{href:`/sdks/dotnet/workload-identity`,children:`Workload identity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Observer`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`IStreamObserver?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsxs(_components.td,{children:[`Optional structured-callback observer for SSE lifecycle events. See `,_jsx(_components.a,{href:`/sdks/dotnet/stream-observer`,children:`Stream observer`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SseReconnectCooldown`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`int[]?`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`[5,10,20,40,60]`})}),_jsxs(_components.td,{children:[`Reconnect schedule in `,_jsx(_components.strong,{children:`minutes`}),` after the stream falls back to polling. Must be non-empty with every entry `,_jsx(_components.code,{children:`>= 1`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`StreamIdleTimeout`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TimeSpan?`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`90 s`})}),_jsxs(_components.td,{children:[`How long the SSE stream may go without receiving anything before the SDK reconnects. Reset by every line received, keepalive comments included, and sized against the backend’s 30-second `,_jsx(_components.code,{children:`: ping`}),`. Must be positive.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`StreamConnectTimeout`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TimeSpan?`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`10 s`})}),_jsxs(_components.td,{children:[`Bound on the whole SSE connect-to-headers phase, so a server that accepts the connection and sends nothing is caught. Applies even with a supplied `,_jsx(_components.code,{children:`StreamHandler`}),`. Must be positive.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LogSyncErrors`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsxs(_components.td,{children:[`Log each resource the server left out of a sync - a secret with no value, a config whose secret reference did not resolve - as a `,_jsx(_components.code,{children:`Warning`}),` the first time it appears. The list itself is always on `,_jsx(_components.code,{children:`client.SyncErrors`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TimeProvider`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TimeProvider?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TimeProvider.System`})}),_jsx(_components.td,{children:`The clock every time-dependent behaviour reads - the TTL, session refresh, quarantine deadlines, the reconnect schedule. Set it only in a test, to advance time instead of waiting for it.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`environment-name`,children:`Environment name`}),`\n`,_jsxs(_components.p,{children:[`The .NET environment name (`,_jsx(_components.code,{children:`Development`}),`, `,_jsx(_components.code,{children:`Staging`}),`, `,_jsx(_components.code,{children:`Production`}),`) comes from `,_jsx(_components.code,{children:`DOTNET_ENVIRONMENT`}),` or `,_jsx(_components.code,{children:`ASPNETCORE_ENVIRONMENT`}),` - `,_jsx(_components.code,{children:`DOTNET_ENVIRONMENT`}),` wins when both are set with `,_jsx(_components.code,{children:`WebApplication.CreateBuilder`}),` - or from `,_jsx(_components.code,{children:`--environment`}),`, and is `,_jsx(_components.code,{children:`Production`}),` when none is set. The host reads it when the builder is created, before any configuration source is added, so set it as a real environment variable on the process or pod. A Nexus config named `,_jsx(_components.code,{children:`ASPNETCORE_ENVIRONMENT`}),` arrives after that moment and changes nothing. See `,_jsx(_components.a,{href:`https://learn.microsoft.com/aspnet/core/fundamentals/environments`,children:`Microsoft’s environments documentation`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`service-endpoint`,children:`Service endpoint`}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`BaseUrl`}),` unset or empty, the client reads the endpoint from `,_jsx(_components.code,{children:`WESTYX_SERVICE_ENDPOINT`}),` (`,_jsx(_components.code,{children:`NexusConfig.ServiceEndpointEnvironmentVariable`}),`) when it is created. `,_jsx(_components.code,{children:`westyx dev run`}),` sets the variable for the script’s service, so together with a developer session an application started by it needs neither an endpoint nor a key:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`await`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` using`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` NexusClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`CreateAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` NexusConfig`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Wif`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` WifConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Enabled`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.code,{children:`BaseUrl`}),` you set always wins - in `,_jsx(_components.code,{children:`NexusConfig`}),` and in `,_jsx(_components.code,{children:`NexusOptions`}),` alike.`]}),`\n`,_jsx(_components.li,{children:`The variable is trimmed, and a value empty after trimming counts as unset.`}),`\n`,_jsxs(_components.li,{children:[`It is validated like the property - `,_jsx(_components.code,{children:`https`}),`, or `,_jsx(_components.code,{children:`http`}),` on loopback only - and an error about its value names `,_jsx(_components.code,{children:`WESTYX_SERVICE_ENDPOINT`}),` rather than `,_jsx(_components.code,{children:`BaseUrl`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`With neither set, `,_jsx(_components.code,{children:`CreateAsync`}),` and `,_jsx(_components.code,{children:`AddWestyxNexus`}),` throw `,_jsx(_components.code,{children:`ArgumentException`}),` naming both.`]}),`\n`,_jsxs(_components.li,{children:[`The configuration binder does not map the variable onto `,_jsx(_components.code,{children:`Nexus:BaseUrl`}),`; the client reads it directly, so the rule holds with or without dependency injection.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`validation`,children:`Validation`}),`\n`,_jsxs(_components.p,{children:[`A value that cannot be meant is rejected at construction with `,_jsx(_components.code,{children:`NexusConfigException`}),`, which carries\nthe offending property in `,_jsx(_components.code,{children:`Option`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` NexusConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`BaseUrl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ApiKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Ttl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TimeSpan`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Zero`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// NexusConfigException: NexusConfig.Ttl: must be positive, got 00:00:00.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` NexusConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`BaseUrl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ApiKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`SseReconnectCooldown`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// NexusConfigException: NexusConfig.SseReconnectCooldown: entry 1 must be at least 1 minute, got -5.`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` selects the default on every optional field, so a default is always expressible without\npassing a value that means something else.`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-key-types`,children:`API key types`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prefix`}),_jsx(_components.th,{children:`Access`}),_jsx(_components.th,{children:`Sync response shape`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wxs_...`})}),_jsx(_components.td,{children:`All configs, all secrets, all flags`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`configs`}),`, `,_jsx(_components.code,{children:`secrets`}),`, and `,_jsx(_components.code,{children:`flags`}),` populated`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wxp_...`})}),_jsx(_components.td,{children:`All configs and all flags - the same set a secret key sees`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`secrets`}),` field is `,_jsx(_components.strong,{children:`entirely absent`}),` from the response`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Calling `,_jsx(_components.code,{children:`GetSecret(...)`}),` with a public key throws `,_jsx(_components.code,{children:`NexusPublicKeyException`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`where-to-keep-the-api-key`,children:`Where to keep the API key`}),`\n`,_jsxs(_components.p,{children:[`Anywhere `,_jsx(_components.code,{children:`IConfiguration`}),` already reads - user secrets in development, environment variables, Azure\nKey Vault, AWS Secrets Manager, your existing secrets pipeline - but not `,_jsx(_components.code,{children:`appsettings.json`}),`, which is\ncommitted. The SDK never logs the raw key.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ApiKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` builder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Configuration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Nexus:ApiKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// user secrets, or the Nexus__ApiKey environment variable`})]}),`\n`]})})}),`\n`,_jsxs(Heading,{level:`2`,id:`logging-a-nexusconfig`,children:[`Logging a `,_jsx(_components.code,{children:`NexusConfig`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`NexusConfig.ApiKey`}),` and `,_jsx(_components.code,{children:`NexusOptions.ApiKey`}),` carry `,_jsx(_components.code,{children:`[JsonIgnore]`}),` and `,_jsx(_components.code,{children:`[IgnoreDataMember]`}),`, so a configuration serialized through System.Text.Json or Newtonsoft.Json contains the base URL and not the key.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Serilog’s destructuring operator honours neither.`}),` `,_jsx(_components.code,{children:`{@Config}`}),` walks public properties directly, so log a config as `,_jsx(_components.code,{children:`{Config}`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`LogInformation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Nexus configured: {Config}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// base URL, no key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`LogInformation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Nexus configured: {@Config}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the key is in your log sink`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The same applies to an options type of your own: a `,_jsx(_components.code,{children:`record`}),` prints its properties from the compiler-generated `,_jsx(_components.code,{children:`ToString()`}),`, so a secret bound into one reaches any log that prints it. Use a `,_jsx(_components.code,{children:`class`}),` for a type that holds a secret.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choosing-the-ttl`,children:`Choosing the TTL`}),`\n`,_jsxs(_components.p,{children:[`The TTL is a tradeoff between staleness window and redundant network traffic. With SSE enabled, `,_jsx(_components.strong,{children:`changes propagate in milliseconds regardless of the TTL`}),` - the TTL only matters as a safety net if the stream falls back.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Use case`}),_jsx(_components.th,{children:`Suggested TTL`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Frequently-changing flags, latency-sensitive`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`30 s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Standard configs with SSE`}),_jsx(_components.td,{children:`60 s (default)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Stable production secrets`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`5 min`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Boot-time only, never reread`}),_jsx(_components.td,{children:`1 hour`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":".NET SDK - Configuration","description":"NexusConfig field reference and TTL guidance for the .NET SDK.","href":"/sdks/dotnet/configuration"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Field reference","slug":"field-reference","depth":2,"children":[]},{"title":"Environment name","slug":"environment-name","depth":2,"children":[]},{"title":"Service endpoint","slug":"service-endpoint","depth":2,"children":[]},{"title":"Validation","slug":"validation","depth":2,"children":[]},{"title":"API key types","slug":"api-key-types","depth":2,"children":[]},{"title":"Where to keep the API key","slug":"where-to-keep-the-api-key","depth":2,"children":[]},{"title":"Logging a NexusConfig","slug":"logging-a-nexusconfig","depth":2,"children":[]},{"title":"Choosing the TTL","slug":"choosing-the-ttl","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"westyx","siteName":"Westyx Nexus","title":".NET SDK - Configuration - Westyx Nexus","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T08:47:35.329Z","originalFileLocation":"sdks/dotnet/configuration.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"NexusConfig field reference and TTL guidance for the .NET SDK.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Westyx Nexus\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\".NET SDK - Configuration - Westyx Nexus\">\u003cmeta data-mint-head property=\"og:description\" content=\"NexusConfig field reference and TTL guidance for the .NET SDK.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Westyx Nexus\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.westyx.dev/sdks/dotnet/configuration\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://westyx.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=.NET+SDK+-+Configuration\u0026amp;description=NexusConfig+field+reference+and+TTL+guidance+for+the+.NET+SDK.\u0026amp;theme=2bda145bf35d10a16e63e692\u0026amp;signature=7369765648a0d361ed5307405bd3d3afef2b61b2d49757dcec145cfd01ee3e19\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\".NET SDK - Configuration - Westyx Nexus\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"NexusConfig field reference and TTL guidance for the .NET SDK.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://westyx.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=.NET+SDK+-+Configuration\u0026amp;description=NexusConfig+field+reference+and+TTL+guidance+for+the+.NET+SDK.\u0026amp;theme=2bda145bf35d10a16e63e692\u0026amp;signature=7369765648a0d361ed5307405bd3d3afef2b61b2d49757dcec145cfd01ee3e19\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Westyx Nexus\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#a855f7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.westyx.dev/sdks/dotnet/configuration\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdks/dotnet/configuration.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.westyx.dev/#organization\",\"name\":\"Westyx Nexus\",\"url\":\"https://docs.westyx.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/westyx/SZvVVOurEPriggFG/nexus-logo.webp?fit=max\u0026auto=format\u0026n=SZvVVOurEPriggFG\u0026q=85\u0026s=6ffbf78ce14ec5ee73fe3b569f8953a9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.westyx.dev#website\",\"name\":\"Westyx Nexus\",\"url\":\"https://docs.westyx.dev\",\"publisher\":{\"@id\":\"https://docs.westyx.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.westyx.dev/sdks/dotnet/configuration#webpage\",\"url\":\"https://docs.westyx.dev/sdks/dotnet/configuration\",\"name\":\".NET SDK - Configuration\",\"description\":\"NexusConfig field reference and TTL guidance for the .NET SDK.\",\"dateModified\":\"2026-11-12T08:47:35.329Z\",\"isPartOf\":{\"@id\":\"https://docs.westyx.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.westyx.dev/sdks/dotnet/configuration#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.westyx.dev/sdks/dotnet/configuration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Backend SDKs\",\"item\":\"https://docs.westyx.dev/sdks/go\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\".NET\",\"item\":\"https://docs.westyx.dev/sdks/dotnet\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\".NET SDK - Configuration\",\"item\":\"https://docs.westyx.dev/sdks/dotnet/configuration\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.westyx.dev/sdks/dotnet/configuration#article\",\"headline\":\".NET SDK - Configuration\",\"name\":\".NET SDK - Configuration\",\"description\":\"NexusConfig field reference and TTL guidance for the .NET SDK.\",\"url\":\"https://docs.westyx.dev/sdks/dotnet/configuration\",\"mainEntityOfPage\":{\"@id\":\"https://docs.westyx.dev/sdks/dotnet/configuration#webpage\"},\"dateModified\":\"2026-11-12T08:47:35.329Z\",\"publisher\":{\"@id\":\"https://docs.westyx.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.westyx.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Westyx Nexus\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Westyx Nexus\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sdks/dotnet/configuration.md","siteName":"Westyx Nexus","nav":{"global":null,"tabs":[{"tab":"Platform","pages":[{"title":"Platform","href":""}]},{"tab":"Features","pages":[{"title":"Features","href":"/features/secrets"}]},{"tab":"SDKs","groups":[{"group":"Overview","pages":[{"title":"SDK Overview","icon":"grid-2","href":"/sdks/overview"}]},{"group":"Backend SDKs","pages":[{"group":"Go","icon":"golang","pages":[{"title":"Go SDK","href":"/sdks/go/index"},{"title":"Go SDK - Installation","href":"/sdks/go/installation"},{"title":"Go SDK - Configuration","href":"/sdks/go/configuration"},{"title":"Go SDK - API Reference","href":"/sdks/go/api-reference"},{"title":"Go SDK - Config values","href":"/sdks/go/config-values"},{"title":"Go SDK - Logging","href":"/sdks/go/logging"},{"title":"Go SDK - Error Handling","href":"/sdks/go/error-handling"},{"title":"Go SDK - SSE Live Updates","href":"/sdks/go/sse-live-updates"},{"title":"Go SDK - Stream Observer","href":"/sdks/go/stream-observer"},{"title":"Go SDK - Workload Identity Federation","href":"/sdks/go/workload-identity"},{"title":"Go SDK - Caching Behaviour","href":"/sdks/go/caching-behaviour"},{"title":"Go SDK - OpenFeature integration","href":"/sdks/go/openfeature"},{"title":"Go SDK - Version history","href":"/sdks/go/version-history"}]},{"group":"Node.js","icon":"node-js","pages":[{"title":"Node.js SDK","href":"/sdks/nodejs/index"},{"title":"Node.js SDK - Installation","href":"/sdks/nodejs/installation"},{"title":"Node.js SDK - NestJS","href":"/sdks/nodejs/nestjs"},{"title":"Node.js SDK - Configuration","href":"/sdks/nodejs/configuration"},{"title":"Node.js SDK - API Reference","href":"/sdks/nodejs/api-reference"},{"title":"Node.js SDK - Config values","href":"/sdks/nodejs/config-values"},{"title":"Node.js SDK - Logging","href":"/sdks/nodejs/logging"},{"title":"Node.js SDK - Error Handling","href":"/sdks/nodejs/error-handling"},{"title":"Node.js SDK - File-type secret security","href":"/sdks/nodejs/file-secret-security"},{"title":"Node.js SDK - SSE Live Updates","href":"/sdks/nodejs/sse-live-updates"},{"title":"Node.js SDK - Stream Observer","href":"/sdks/nodejs/stream-observer"},{"title":"Node.js SDK - Workload Identity Federation","href":"/sdks/nodejs/workload-identity"},{"title":"Node.js SDK - Caching Behaviour","href":"/sdks/nodejs/caching-behaviour"},{"title":"Node.js SDK - OpenFeature","href":"/sdks/nodejs/openfeature"},{"title":"Node.js SDK - Version history","href":"/sdks/nodejs/version-history"}]},{"group":"Python","icon":"python","pages":[{"title":"Python SDK","href":"/sdks/python/index"},{"title":"Python SDK - Installation","href":"/sdks/python/installation"},{"title":"Python SDK - Configuration","href":"/sdks/python/configuration"},{"title":"Python SDK - Framework adapters","href":"/sdks/python/framework-adapters"},{"title":"Python SDK - Logging","href":"/sdks/python/logging"},{"title":"Python SDK - API Reference","href":"/sdks/python/api-reference"},{"title":"Python SDK - Error Handling","href":"/sdks/python/error-handling"},{"title":"Python SDK - SSE Live Updates","href":"/sdks/python/sse-live-updates"},{"title":"Python SDK - Stream Observer","href":"/sdks/python/stream-observer"},{"title":"Python SDK - Workload Identity Federation","href":"/sdks/python/workload-identity"},{"title":"Python SDK - Caching Behaviour","href":"/sdks/python/caching-behaviour"},{"title":"Python SDK - Type checking","href":"/sdks/python/type-checking"},{"title":"Python SDK - File-type secret security","href":"/sdks/python/file-secret-security"},{"title":"Python SDK - OpenFeature provider","href":"/sdks/python/openfeature-provider"},{"title":"Python SDK - Version history","href":"/sdks/python/version-history"}]},{"group":".NET","icon":"microsoft","pages":[{"group":"Getting started","pages":[{"title":".NET SDK","href":"/sdks/dotnet/index"},{"title":".NET SDK - Getting started with ASP.NET Core","href":"/sdks/dotnet/getting-started"},{"title":".NET SDK - Installation","href":"/sdks/dotnet/installation"}]},{"group":"Integration","pages":[{"title":".NET SDK - Wiring the packages together","href":"/sdks/dotnet/package-wiring"},{"title":".NET SDK - Dependency injection","href":"/sdks/dotnet/dependency-injection"},{"title":".NET SDK - ASP.NET Core IConfiguration","href":"/sdks/dotnet/aspnetcore-configuration"},{"title":".NET SDK - Secrets binding","href":"/sdks/dotnet/secrets-binding"},{"title":".NET SDK - Feature management","href":"/sdks/dotnet/feature-management"},{"title":"OpenFeature integration","description":"Use NexusProvider to evaluate feature flags and configs via the OpenFeature standard interface.","href":"/sdks/dotnet/openfeature"}]},{"group":"Reference","pages":[{"title":".NET SDK - Configuration","href":"/sdks/dotnet/configuration"},{"title":".NET SDK - API Reference","description":"Every public method and property on NexusClient in the .NET SDK.","href":"/sdks/dotnet/api-reference"},{"title":".NET SDK - Error Handling","href":"/sdks/dotnet/error-handling"},{"title":".NET SDK - Caching Behaviour","href":"/sdks/dotnet/caching-behaviour"},{"title":".NET SDK - SSE Live Updates","href":"/sdks/dotnet/sse-live-updates"},{"title":".NET SDK - Stream Observer","href":"/sdks/dotnet/stream-observer"},{"title":".NET SDK - Workload Identity Federation","href":"/sdks/dotnet/workload-identity"}]},{"group":"Operations","pages":[{"title":".NET SDK - Logging","href":"/sdks/dotnet/logging"},{"title":".NET SDK - OpenTelemetry","href":"/sdks/dotnet/opentelemetry"},{"title":".NET SDK - Trimming and Native AOT","href":"/sdks/dotnet/trimming-and-aot"}]},{"group":"Background","pages":[{"title":".NET SDK - Design decisions and deviations","href":"/sdks/dotnet/design-decisions"},{"title":".NET SDK - Version history","href":"/sdks/dotnet/version-history"}]}]},{"group":"Spring Boot","icon":"java","pages":[{"title":"Spring Boot SDK","href":"/sdks/spring-boot/index"},{"title":"Spring Boot SDK - Installation","href":"/sdks/spring-boot/installation"},{"title":"Spring Boot SDK - Configuration","href":"/sdks/spring-boot/configuration"},{"title":"Spring Boot SDK - JSON values","href":"/sdks/spring-boot/json-values"},{"title":"Spring Boot SDK - API Reference","href":"/sdks/spring-boot/api-reference"},{"title":"Spring Boot SDK - Error Handling","href":"/sdks/spring-boot/error-handling"},{"title":"Spring Boot SDK - Logging","href":"/sdks/spring-boot/logging"},{"title":"Spring Boot SDK - SSE Live Updates","href":"/sdks/spring-boot/sse-live-updates"},{"title":"Spring Boot SDK - Stream Observer","href":"/sdks/spring-boot/stream-observer"},{"title":"Spring Boot SDK - Workload Identity Federation","href":"/sdks/spring-boot/workload-identity"},{"title":"Spring Boot SDK - Caching Behaviour","href":"/sdks/spring-boot/caching-behaviour"},{"title":"OpenFeature integration","href":"/sdks/spring-boot/openfeature"},{"title":"Spring Boot SDK - Version history","href":"/sdks/spring-boot/version-history"}]},{"group":"Kotlin","icon":"k","pages":[{"title":"Kotlin SDK","href":"/sdks/kotlin/index"},{"title":"Kotlin SDK - Installation","href":"/sdks/kotlin/installation"},{"title":"Kotlin SDK - Configuration","href":"/sdks/kotlin/configuration"},{"title":"Kotlin SDK - API Reference","href":"/sdks/kotlin/api-reference"},{"title":"Kotlin SDK - Logging","href":"/sdks/kotlin/logging"},{"title":"Kotlin SDK - Error Handling","href":"/sdks/kotlin/error-handling"},{"title":"Kotlin SDK - SSE Live Updates","href":"/sdks/kotlin/sse-live-updates"},{"title":"Kotlin SDK - Stream Observer","href":"/sdks/kotlin/stream-observer"},{"title":"Kotlin SDK - Workload Identity Federation","href":"/sdks/kotlin/workload-identity"},{"title":"Kotlin SDK - Caching Behaviour","href":"/sdks/kotlin/caching-behaviour"},{"title":"Kotlin SDK - Ktor Plugin","href":"/sdks/kotlin/ktor-plugin"},{"title":"OpenFeature integration","href":"/sdks/kotlin/openfeature"},{"title":"Kotlin SDK - Version history","href":"/sdks/kotlin/version-history"}]},{"group":"PHP","icon":"php","pages":[{"title":"PHP SDK","href":"/sdks/php/index"},{"title":"PHP SDK - Installation","href":"/sdks/php/installation"},{"title":"PHP SDK - Configuration","href":"/sdks/php/configuration"},{"title":"PHP SDK - API Reference","href":"/sdks/php/api-reference"},{"title":"PHP SDK - HTTP Client","href":"/sdks/php/http-client"},{"title":"PHP SDK - Error Handling","href":"/sdks/php/error-handling"},{"title":"PHP SDK - SSE Live Updates","href":"/sdks/php/sse-live-updates"},{"title":"PHP SDK - Caching Behaviour","href":"/sdks/php/caching-behaviour"},{"title":"PHP SDK - Workload Identity Federation","href":"/sdks/php/workload-identity"},{"title":"PHP SDK - Custom Logging","href":"/sdks/php/custom-logging"},{"title":"PHP SDK - Laravel","href":"/sdks/php/laravel"},{"title":"PHP SDK - OpenFeature Provider","href":"/sdks/php/openfeature"},{"title":"PHP SDK - Version history","href":"/sdks/php/version-history"}]},{"group":"Rust","icon":"rust","pages":[{"title":"Rust SDK","href":"/sdks/rust/index"},{"title":"Rust SDK - Installation","href":"/sdks/rust/installation"},{"title":"Rust SDK - Configuration","href":"/sdks/rust/configuration"},{"title":"Rust SDK - API reference","href":"/sdks/rust/api-reference"},{"title":"Rust SDK - Logging","href":"/sdks/rust/logging"},{"title":"Rust SDK - Error handling","href":"/sdks/rust/error-handling"},{"title":"Rust SDK - SSE live updates","href":"/sdks/rust/sse-live-updates"},{"title":"Rust SDK - Caching behaviour","href":"/sdks/rust/caching-behaviour"},{"title":"Rust SDK - Workload identity","href":"/sdks/rust/workload-identity"},{"title":"Rust SDK - OpenFeature","href":"/sdks/rust/openfeature"},{"title":"Rust SDK - Async migration","href":"/sdks/rust/async-migration"},{"title":"Rust SDK - Version history","href":"/sdks/rust/version-history"}]}]},{"group":"Browser SDKs","pages":[{"group":"Angular","icon":"angular","pages":[{"title":"Angular SDK","href":"/sdks/angular/index"},{"title":"Angular SDK - Installation","href":"/sdks/angular/installation"},{"title":"Angular SDK - Configuration","href":"/sdks/angular/configuration"},{"title":"Angular SDK - Caching behaviour","href":"/sdks/angular/caching-behaviour"},{"title":"Angular SDK - Custom logging","href":"/sdks/angular/custom-logging"},{"title":"Angular SDK - API reference","href":"/sdks/angular/api-reference"},{"title":"Angular SDK - Error handling","href":"/sdks/angular/error-handling"},{"title":"Angular SDK - Live updates","href":"/sdks/angular/sse-live-updates"},{"title":"Angular SDK - Stream observer","href":"/sdks/angular/stream-observer"},{"title":"Angular SDK - OpenFeature","href":"/sdks/angular/openfeature"}]},{"group":"React","icon":"react","pages":[{"group":"Getting started","pages":[{"title":"React SDK","href":"/sdks/react/index"},{"title":"React SDK - Getting started with Next.js","href":"/sdks/react/getting-started"},{"title":"React SDK - Installation","href":"/sdks/react/installation"}]},{"group":"Integration","pages":[{"title":"React SDK - Configuration","href":"/sdks/react/configuration"},{"title":"React SDK - OpenFeature","href":"/sdks/react/openfeature"}]},{"group":"Reference","pages":[{"title":"React SDK - API reference","href":"/sdks/react/api-reference"},{"title":"React SDK - Error handling","href":"/sdks/react/error-handling"},{"title":"React SDK - Caching behaviour","href":"/sdks/react/caching-behaviour"},{"title":"React SDK - Live updates","href":"/sdks/react/sse-live-updates"},{"title":"React SDK - Stream observer","href":"/sdks/react/stream-observer"}]},{"group":"Operations","pages":[{"title":"React SDK - Custom logging","href":"/sdks/react/custom-logging"}]},{"group":"Background","pages":[{"title":"React SDK - Design decisions","href":"/sdks/react/design-decisions"},{"title":"React SDK - Version history","href":"/sdks/react/version-history"}]}]},{"group":"Vue","icon":"vuejs","pages":[{"title":"Vue SDK","href":"/sdks/vue/index"},{"title":"Vue SDK - Installation","href":"/sdks/vue/installation"},{"title":"Vue SDK - Configuration","href":"/sdks/vue/configuration"},{"title":"Vue SDK - Caching behaviour","href":"/sdks/vue/caching-behaviour"},{"title":"Vue SDK - Custom logging","href":"/sdks/vue/custom-logging"},{"title":"Vue SDK - API reference","href":"/sdks/vue/api-reference"},{"title":"Vue SDK - Error handling","href":"/sdks/vue/error-handling"},{"title":"Vue SDK - Live updates","href":"/sdks/vue/sse-live-updates"},{"title":"Vue SDK - Stream observer","href":"/sdks/vue/stream-observer"},{"title":"Vue SDK - OpenFeature","href":"/sdks/vue/openfeature"}]}]},{"group":"OpenFeature Providers","pages":[{"group":"OpenFeature Web","icon":"flag","pages":[{"title":"OpenFeature Web Provider","href":"/sdks/openfeature-web-provider/index"},{"title":"OpenFeature Web Provider - Installation","href":"/sdks/openfeature-web-provider/installation"},{"title":"OpenFeature Web Provider - Usage","href":"/sdks/openfeature-web-provider/usage"},{"title":"OpenFeature Web Provider - Targeting","href":"/sdks/openfeature-web-provider/targeting"}]}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli"}]}]},"basePath":"","title":".NET SDK - Configuration - Westyx Nexus","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}