Managing Client Permissions
Control which routes clients can access and manage API keys securely.Route Permissions
Restrict Client to Specific Routes
Why? Give partner integrations access only to what they need. How:- Edit client
- Under Allowed Routes, select specific routes
- Save
Route-Level Restrictions
You can also restrict from the route side:- Edit a route
- Under Allowed Clients, select specific clients
- Save
API Key Management
Viewing Keys
You can only see the last 8 characters:Rotating Keys
When to rotate:- Every 90 days (scheduled maintenance)
- Suspected compromise
- Employee offboarding
- App decommission
- Open client details
- Click Rotate Key
- Copy new key
- Update applications
- Old key stops working immediately
Revoking Access
Temporary disable:- Open client
- Click Disable
- Re-enable later if needed
- Click Delete Client
- Confirm
- Key is revoked immediately
Rate Limiting Per Client
Apply limits per client:- Edit route
- Enable Rate Limiting
- Configure per-client limits:
- Requests: 1000
- Window: 60 seconds
- Burst: 1200
IP Allowlisting
Restrict client to specific IPs:- Edit client
- Add Allowed IPs:
- Save
Monitoring Client Activity
Track client behavior:- Go to Analytics
- Filter by client
- Monitor:
- Request volume
- Error rates
- Response times
- Geographic distribution
Set Up Alerts
Get notified of issues:- Error rate > 10% for this client
- Unusual request volume
- Requests from unexpected locations
Client Organization
Naming Convention
Use clear, consistent names:prod-mobile-ios-v2staging-web-apppartner-acme-integration
Use Descriptions
Document important details:- Purpose of this client
- Owner/team
- Created date
- Next rotation date
Troubleshooting
“Invalid API Key”- Key was rotated or revoked
- Check last 8 characters match
- Verify client is enabled
- Client lacks permission for this route
- Check client’s allowed routes
- Check route’s allowed clients
- Review client’s error logs
- Check if backend is having issues
- Consider disabling if abusive
Next Steps
- Set up environments for per-env API keys
- Learn about secrets for backend credentials
- Configure monitoring and alerts
📊 Statistics
- Views: 1
- Helpful: 0 👍
- Level: intermediate
🏷️ Tags
clients, permissions, security, api-keys