Wrap your SendGrid keys in proxy tokens with IP restrictions, audit logs, and instant revocation — no key rotation.
See how ShieldKey protects your SendGrid integration with minimal code changes.
import sgMail from "@sendgrid/mail";
sgMail.setApiKey(
"SG.abc123..." // ← in 4 different .env files
);
await sgMail.send({
to: "user@example.com",
from: "noreply@app.com",
subject: "Welcome",
text: "Hello!"
}); import sgMail from "@sendgrid/mail";
sgMail.setApiKey(
"sk_shield_t_1f4c..." // ← revocable proxy token
);
// Routes through proxy.shieldkey.io
await sgMail.send({
to: "user@example.com",
from: "noreply@app.com",
subject: "Welcome",
text: "Hello!"
}); Disable any team member's access to your SendGrid key in one click. No key rotation. No downtime. No re-deploying environment variables.
Set per-token spend caps so a compromised token can't run up your SendGrid bill. Get alerts before limits are hit.
Restrict each shield token to specific IPs or CIDR ranges. Even if a token leaks, it's useless from unauthorized networks.
See every API call made through your SendGrid key — who made it, when, from where, and what they accessed.
Your SendGrid key is encrypted with AES-256-GCM. It's only decrypted in memory during request proxying — never stored in plaintext.
Issue individual shield tokens to each team member. When someone leaves, revoke their token — everyone else keeps working.
Add your SendGrid key to ShieldKey's encrypted vault. ShieldKey generates a proxy token (starting with sk_shield_t_) that your team uses instead. Your real SG. key stays encrypted and is never exposed to team members.
Yes. Point your @sendgrid/mail SDK at proxy.shieldkey.io and use a shield token instead of your real API key. The SDK works identically — ShieldKey transparently proxies every request.
Revoke their shield token from the dashboard. Your real SendGrid key stays active — no rotation, no downtime, no re-deploying secrets across services. Everyone else keeps working without interruption.
ShieldKey's proxy adds less than 25ms at the p50. The proxy decrypts your key in memory, forwards the request, and streams the response back. For most SendGrid API calls, this overhead is negligible.
Set up ShieldKey in under 5 minutes. No credit card required.
Start Free