Documentation Index
Fetch the complete documentation index at: https://docs.nexus.westyx.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Installation
pom.xml
Quick start
Add toapplication.properties (or application.yml):
NexusClient:
Configuration reference
API
| Method | Returns | Description |
|---|---|---|
getConfig(key) | String | Config value or null |
getConfigAs(key, type) | T | Typed config |
getConfigJson(key) | Object | Parsed JSON config |
getSecret(key) | byte[] | Secret bytes; throws on pk_ key or frontend kind |
getSecretFilePath(key) | String | Temp file path for file-type secrets |
getFlag(key, default) | boolean | Flag value; default if not found |
evaluateAb(keys, userId, attrs) | Map<String,Boolean> | A/B evaluation |
Workload Identity Federation
@Bean:
SSE live updates
The starter automatically starts the SSE stream on application startup and tears it down onclose(). No additional configuration required.
Error types
| Exception | Cause |
|---|---|
NexusPublicKeyException | getSecret with pk_live_ key |
NexusServiceKindMismatchException | getSecret on kind=frontend service |
NexusBillingException | 402 - billing blocked |
NexusWifTokenExchangeException | Server rejected the OIDC token |
