Skip to main content

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:
Keep your private-key.pem file secure and never share it. You’ll use this to sign your API requests.

Register Your Public Key

  1. Copy the entire contents of your public-key.pem file (including the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- lines)
  2. Paste it into the Public Key textarea
  3. Optionally, give your API key a descriptive name to help identify it later
  4. Optionally, list the IPs allowed to use the key in Allowed IPs, separated by commas
  5. 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 a 403 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.