News for hackers. Stuff that matters.
Re:Ask HN: Do you trust AI agents with API keys / private keys? by devendra116 on Sunday April 12, 2026 @10:58AM (#47740486)
something that you dont like about using AWS secrets Manager or think it should be handle differently?

im researching around building a execution environment that handle the secret + actual execution, any input is appreciated

Re:Ask HN: Do you trust AI agents with API keys / private keys? by raw_anon_1111 on Sunday April 12, 2026 @11:15AM (#47740712)
Well since in my case all of the LLMs I use are hosted by AWS Bedrock, it means I can get away with only caring about AWS Access keys.

If I need to store database passwords in secrets manager, I can just pass the ARN of the secret manager key in the connection string. I often don’t need to even do that and prefer to use the Data API to access Aurora Postgres/Mysql and that also uses the IAM permissions.

Even for access to EC2 instances I use an IAM controlled Session Manager proxy to access it over SSH/RDP.

But Secrets Manager just works. It’s a simple API/ClI command and the permission system to access it is very granular.