XuanShu API
Can a key restrict IP access?
Yes. API keys support IP whitelists and IP blacklists; key expiry and rolling spend limits are configured separately in the console.
Last verified:
Can a key restrict IP access?
Yes. API keys support IP whitelists and IP blacklists; key expiry and rolling spend limits are configured separately in the console.
Steps
- Record the service egress IP or CIDR.
- Configure the IP whitelist and IP blacklist as needed.
- Send verification requests from an allowed and a denied network.
Limits and exceptions
The blacklist denies first; when a whitelist is configured, unmatched IPs are denied. NAT, proxies, and dynamic egress can change the address seen by the service.