piighost/sendgrid-api-key

SendGrid API key: the literal SG., a twenty-two character key id, a dot, then a forty-three character secret. The prefix and the two fixed lengths keep noise negligible, and the lowercase form sg. is correctly left alone. No collision at the span level, though a digit run inside a key can trip de-phone on a sub-span.

Label: SENDGRID_API_KEY

Pattern

\bSG\.[A-Za-z0-9_-]{22}\.[A-Za-z0-9_-]{43}(?![A-Za-z0-9_-])

Must be caught

Must be left alone

Tags: international, secrets, software-dev

Download the detector as TOML