TheDocumentation Index
Fetch the complete documentation index at: https://docs.ultra.security/llms.txt
Use this file to discover all available pages before exploring further.
hub section of your Ultra config controls how this gateway connects to Ultra Hub for centralized management, telemetry sync, and team collaboration.
Configuration Reference
| Field | Type | Default | Description |
|---|---|---|---|
enabled | bool | false | Enable Hub connectivity |
url | string | https://hub.ultra.security | Hub API URL |
gateway_id | string | This gateway’s unique ID (set by ultra link) | |
workspace_id | string | Linked workspace ID (set by ultra link) | |
sync_interval | string | "60s" | How often to sync traces/events to Hub |
offline_mode | bool | false | Continue operating if Hub is unreachable |
deploy_key | string | Static API key for headless/CI deployments |
Setting Up Hub Connection
- Client
- Terminal
You can set up Hub connection by asking your AI client:
- Create an account at hub.ultra.security and set up a workspace
- Ask your client to connect:
- “Log in to Ultra Hub”
- “Link this gateway to Ultra Hub”
- Restart your AI client for the connection to take effect
Authentication Methods
Ultra Hub supports two authentication methods:OAuth2 (Interactive)
For developer workstations. Runultra login to authenticate via browser:
Deploy Keys (Headless/CI)
For CI/CD pipelines and servers without browser access:dk_ prefix. The environment variable ULTRA_DEPLOY_KEY takes priority over the config value.
Sync Behavior
When Hub is enabled and the gateway is linked,ultra start runs a background sync loop:
- Traces and audit events are synced to Hub at the configured interval
- Heartbeats are sent at half the sync interval (minimum 30 seconds)
- Token refresh happens automatically before sync operations
- If authentication fails permanently (e.g., revoked token), sync is disabled with a single warning message