logoalt Hacker News

nightbrawleryesterday at 8:56 PM1 replyview on HN

normal indeed but not what i'd consider a best practice anymore. we've moved away from any secrets in the env after the typical secrets leak when secrets popped up in some debug logging that hit datadog.

we now have a secret cache layer api and the app loads secrets securely at time of use from that api. there's also no secret-0 problem because we use IAM auth when calling the cache.

edit: for those wondering, api response time is sub 1ms (rust!)


Replies

e12eyesterday at 11:15 PM

Just to clarify - for every seperate read, update or write to your database - you setup and teardown a new connection?