Theme
API keys
What this is
API keys lets you create and revoke personal keys for scripts and integrations. Keys follow your permissions. Sensitive actions (password, MFA, SSO, organization settings, user management, API key management, and similar) still require signing in to the portal.
Who can use it
Users with API keys access (or Settings read, depending on your group). The API keys card appears on Settings when you are allowed to manage keys.
How to open it
- In the left side menu, click Settings.
- Find the API keys card.
- Click Manage API keys.

Create a key
- Open Manage API keys.
- Under Create key, enter a name and optional expiry (days).
- Keys inherit your permission-group modules for REST automation. MCP Read / Control are optional — turn them on only for AI / MCP clients.
- Optionally add an IP allowlist (IPv4, IPv6, or CIDR). Leave empty to allow any IP. Recommended for fixed egress such as servers or CI; leave empty for laptop MCP if your public IP changes often. Maximum 32 entries. Do not use
0.0.0.0/0or::/0— leave the list empty instead. - Click Create API key.
- Complete the MFA challenge when prompted. Invalid form input (bad IP, key limit) is rejected before MFA so a mistake does not use up the step-up.
- Copy the secret immediately — it is shown only once.

IP allowlist enforcement
When a key has a non-empty allowlist, every Bearer oprmm_… request must come from a matching client IP. A miss returns 403 with code API_KEY_IP_DENIED.
Enforcement uses the server’s client IP detection (get_client_ip()). Regions behind Traefik/Cloudflare need TRUSTED_PROXY / TRUSTED_PROXY_IPS configured so X-Real-IP / X-Forwarded-For are trusted. If proxy trust is misconfigured, allowlisted keys are refused (fail-safe).
Keys with an empty allowlist (or older keys created before this feature) continue to work from any IP.
Revoke a key
- Open Manage API keys.
- In the key list, find the key.
- Click Revoke.
- Confirm Revoke. Scripts using that key stop working immediately.
Revoke does not require MFA step-up. To change a key’s IP allowlist in this release, create a new key and revoke the old one.
Next steps — call the API
After you have a key:
- Developer API overview — base URL, auth header, examples
- Interactive API reference — Swagger UI for the public OpenAPI
- MCP integration — if you use AI / MCP tools
Tips
- Treat API keys like passwords; store them in a secret manager, not in chat or tickets.
- Creating a key always requires interactive login plus MFA step-up when MFA floors apply.
- If MFA is enabled on your account, keys still only cover allowed automation actions — they do not replace interactive login for sensitive admin work.
