Access Management Console
Navigate to the Manage Users section in your Crown dashboard to begin setting up your API keys.Generate Your Key Pair
Before creating an API key in the dashboard, you need to generate an RSA key pair. Run these commands in your terminal:Register Your Public Key
- Copy the entire contents of your
public-key.pemfile (including the-----BEGIN PUBLIC KEY-----and-----END PUBLIC KEY-----lines) - Paste it into the Public Key textarea
- Optionally, give your API key a descriptive name to help identify it later
- Optionally, list the IPs allowed to use the key in Allowed IPs, separated by commas
- Click Create API Key
Allowed IPs
An API key with allowed IPs only accepts requests from those IPs. A request from any other IP gets a403 Forbidden that names the IP it came from. A key with no allowed IPs accepts requests from any IP.
- Each entry is a single IPv4 address, such as
203.0.113.10. Ranges (CIDR) and IPv6 are not accepted. - List the public IPs your servers use to reach the internet, such as the IPs of your NAT gateway.
Next Steps
Once your API key is created, you’ll need to use your private key to authenticate your requests. See the Authentication Guide for detailed instructions on signing requests with your private key.You can create multiple API keys for different applications or environments. Each key can be revoked independently if needed.