What the allowlist protects
The allowlist has two switches. You can turn on one, the other, or both.
The two switches are independent. A workspace can restrict where people sign in from and still accept API calls from anywhere, or the other way around.
How the platform decides
Every request to a protected route goes through the same check, in this order:
- A request arrives at the platform with your workspace’s credentials.
- The platform works out the network address the request came from. Behind your load balancer, it reads the address your proxy forwards. On BYOC, see Deployment requirements. On Lerian Cloud, Lerian handles this for you.
- The platform checks whether the list is active for that kind of access: Console or API.
- If the list is active, the platform compares the address with every entry on the list.
- If the address matches an entry, the request continues. If it does not, the platform refuses it.
What a refused person or system sees
A person who signs in from an unlisted address is refused. A system that calls the API from an unlisted address receives an HTTP
403 response with this body:
AUT-0021 always means the same thing: the caller’s address is outside an active list. It can come back from any protected endpoint of any Lerian product. See the Access Manager error list.
What you can register
An entry is a single address or a range of addresses, in IPv4 or IPv6.
Rules that apply to the list:
- Use CIDR notation for ranges. The platform does not accept “from-to” ranges such as
203.0.113.1-203.0.113.50. - Duplicates are merged.
203.0.113.5and203.0.113.5/32are the same entry. - The whole list, joined by commas, cannot exceed 200 characters. Prefer ranges over long lists of single addresses.
The three states of the list
The Console shows the current state in a banner at the top of the IP allowlist tab. You always know whether the list is enforced.
How fast a change applies
A change applies to the next request. The platform reads the list and the caller’s address on every request, so there is no waiting period. This also means a token does not keep access alive. A person or system that already holds a valid token is refused on its next request if its address is no longer on the list.
Safety behaviors in the Console
The Console protects you from the most common mistake: locking yourself out.
- Before the first entry activates the list, the Console asks you to confirm.
- If your own address is not on the list, the Console warns you before it saves.
- An Add my IP button adds the address you are connected from.
- The Console asks for a separate confirmation before it applies the list to API access.
What the allowlist does not cover
- Lerian’s own platform services keep working. Requests that carry a platform-internal token bypass the list, so your workspace does not stop by accident.
- There is no administrator exemption. An administrator who connects from an unlisted address is refused like anyone else. Keep at least one address you control on the list.
- Break-glass. If every administrator is locked out, contact Lerian support to restore access.
Next steps
Manage the list in the Console
Add addresses, choose where the list applies, and deactivate it.
Manage the list via API
Read and replace the list with two Identity API operations, with examples.
Deployment requirements
What a BYOC operator configures so the platform learns the caller’s real address.
Error list
Every code the allowlist can return, with title and message.

