Tenant Config (Control Plane)
The tenant control plane config lets platform operators customize the Steward experience for each tenant — which policies are editable, what the UI looks like, which features are enabled, and how approvals work. This is the layer between a raw multi-tenant Steward deployment and a white-labeled platform-specific experience. Base path:GET/PUT /tenants/:id/configAuth: Tenant-level (
X-Steward-Key)
Get Tenant Config
milady-cloud, milady-desktop, eliza-cloud.
Update Tenant Config
Policy Exposure
policyExposure controls which policy types end users can see and edit in the <PolicyControls> component:
| Value | Behavior |
|---|---|
"visible" | Policy is shown and editable |
"enforced" | Policy is applied but hidden from end users |
"hidden" | Policy is not shown and not automatically applied |
Policy Templates
Policy templates appear in the<PolicyControls> component as one-click starting points. Define them with customizable fields so users can tune limits without editing raw policy configs:
Secret Route Presets
Pre-configured route templates shown in the secret manager UI. Saves users from manually entering host/inject details for common APIs:provisioning: "platform" means the platform provides the credential. provisioning: "user" means the end user provides their own key.
Approval Config
Controls how the approval workflow behaves for this tenant:| Field | Description |
|---|---|
autoExpireSeconds | How long pending approvals last before auto-expiry (0 = never) |
approvers.mode | Who can approve: "owner" (tenant admins), "tenant-admin" |
webhookCallbackEnabled | Whether to fire tx.pending webhooks for this tenant |
Feature Flags
Toggle UI features in@stwd/react components:
| Flag | Default | Description |
|---|---|---|
showFundingQR | true | Show QR code in <WalletOverview> |
showTransactionHistory | true | Enable <TransactionHistory> component |
showSpendDashboard | true | Enable <SpendDashboard> component |
showPolicyControls | true | Enable <PolicyControls> component |
showApprovalQueue | true | Enable <ApprovalQueue> component |
showSecretManager | false | Show secret management UI |
enableSolana | true | Show Solana address alongside EVM |
showChainSelector | false | Show chain-switching UI |
allowAddressExport | true | Allow copying/exporting wallet addresses |
Theme Config
Full color and typography control:@stwd/react. Any fields not provided fall back to the component library defaults.
Related
- React Components —
@stwd/reactconsumes tenant config automatically - Approvals — Configured by
approvalConfig - Secrets Guide — Configured by
secretRoutePresets - Webhooks — Configured by
webhookCallbackEnabled