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
\bSG\.[A-Za-z0-9_-]{22}\.[A-Za-z0-9_-]{43}(?![A-Za-z0-9_-])
SENDGRID_API_KEY=SG.DEFGHIJKLMNOPQRSTUVWXY.FGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijkl → SG.DEFGHIJKLMNOPQRSTUVWXY.FGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklLa cle SG.LMNOPQRSTUVWXYZ0123456.RSTUVWXYZ0123456789abcdefghijklmnopqrstuvwx traînait dans le depot. → SG.LMNOPQRSTUVWXYZ0123456.RSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxSG.abc.defsg.DEFGHIJKLMNOPQRSTUVWXY.FGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklTags: international, secrets, software-dev