Instance Settings are instance-wide configurations that apply across your entire Agent Vault server. Only instance owners can view or change these settings.
Currently, instance settings control how new users can register and join:
- Invite-only registration: Disables self-registration entirely. New users can only join through vault invites.
- Allowed email domains: Restricts registration to specific email domains (e.g.
acme.com,acme.org).
Invite-only registration
When invite-only mode is enabled, self-registration is completely disabled. New users can only join through vault invites sent by a vault admin. This applies to both email/password registration and OAuth signup.- Web UI
- CLI
Go to Manage Instance > Settings, toggle Invite-Only Registration on,
and click Save Changes.
- The Register page directs users to request an invite from an administrator.
- The Login page hides the “Register” link.
POST /v1/auth/registerreturns403 Forbidden.- OAuth signup for new users is blocked (existing OAuth users can still log in).
- Vault invites still work — this is the intended onboarding path.
Allowed email domains
You can restrict registration to specific email domains. When set, only users with matching email addresses can register (via email/password, OAuth, or vault invite). Leave the list empty to allow all domains.- Web UI
- CLI
Go to Manage Instance > Settings, add domains under Allowed Email
Domains, and click Save Changes.
Combining both settings
Both settings stack — invite-only controls whether someone can register, and domain restrictions control who can register. When both are active, self-registration is blocked and vault invites are limited to matching email domains.| Configuration | Who can register |
|---|---|
| Invite-only only | No self-registration. Any email can join through vault invites. |
| Domain restrictions only | Anyone with a matching email domain can self-register. |
| Both | No self-registration. Only vault invites with a matching email domain. |
SMTP status
The settings response includes ansmtp_configured field (boolean) indicating whether SMTP is configured on the instance. This is visible in the web UI settings page and in the API response from GET /v1/admin/settings.