Test vs live keys
Hiveku issues two flavors of keys, distinguished by prefix:| Prefix | Environment | Behavior |
|---|---|---|
hk_test_... | Test | Simulates sends without hitting AWS SES. No real delivery. |
hk_live_... | Production | Sends real email through AWS SES. Counts against your plan. |
messageId) without risking a real send or burning quota.
Create a key
Configure the key
Set the name, environment (test or live), scopes, rate limits, and any allowlists.
Permission scopes
Keys are least-privilege by default — assign only the scopes each key actually needs.| Scope | Grants |
|---|---|
email:send | Send single emails via the SDK, REST API, or SMTP |
email:batch | Send batch emails (up to 100 per request) |
email:domains | Read, add, and verify domains |
email:templates | Read, create, update, and delete templates |
email:webhooks | Read, create, and update webhook endpoints |
email:send (and optionally email:batch). Admin-style keys used by internal tools or deployment scripts may need the management scopes.
Rate limiting
Each key has configurable rate limits:- Per second — Default 10 emails/second. Burst-friendly for transactional traffic.
- Per day — Optional daily cap to prevent runaway loops or abuse.
429 Too Many Requests with a Retry-After header. The SDK automatically retries with exponential backoff.
Domain allowlist
Restrict a key to send only from a specific set of verified domains. Useful for multi-tenant setups where each tenant gets its own key scoped to its own domain.IP allowlist
Optionally restrict a key to a set of source IPs or CIDR ranges (e.g., your production NAT gateway). Any request from outside the allowlist returns403 Forbidden.
Usage tracking
For every key, Hiveku tracks:- Last-used timestamp
- Total sends (lifetime and 30-day)
- Rate-limit hits
- Failed auth attempts
Revoking keys
Click Revoke on any key to invalidate it immediately. Revocation is instant — in-flight requests using the key will start failing with401 Unauthorized.