13
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 23 Mar 2026
13 points (88.2% liked)
TechTakes
2571 readers
99 users here now
Big brain tech dude got yet another clueless take over at HackerNews etc? Here's the place to vent. Orange site, VC foolishness, all welcome.
This is not debate club. Unless it’s amusing debate.
For actually-good tech, you want our NotAwfulTech community
founded 2 years ago
MODERATORS
The Tumblr thread about covers it, but I had a quick look through the code and this caught my attention in the get2fa.ts file. It's used in Authorisation headers for
https://api.resend.com/emailsrequests. I've never used an aws secretsmanager but I'm pretty sure this is a no.const RESEND_API_KEY_SECRET_ARN = 'arn:aws:secretsmanager:us-east-2:<REDACTED_HARDCODED_STRING>:secret:RESEND_API_KEY-<REDACTED_HARDCODED_STRING>';const result = execSync( 'aws secretsmanager get-secret-value --secret-id "${RESEND_API_KEY_SECRET_ARN}" --region us-east-2 --profile <REDACTED_HARDCODED_STRING> --query SecretString --output text', { encoding: 'utf-8' } ).trim();😵💫