Skip to content
AWS Security· Abhi Yadav·Indexed by this site · Originally published· Tools →· Its place in the scan record →

AWS open-sources Credential Daemon: local credentials stored in hardware-sealed storage to prevent reading by AI coding agents

Introducing AWS Credential Daemon

AI summary

AWS open-sourced AWS Credential Daemon (credsd), which changes developers' local long-term credentials from plaintext files in ~/.aws/ to hardware-sealed storage with short-lived sessions issued on demand, and integrates with the AWS CLI preview. The tool targets three risks of local AI coding agents: agents inheriting all of the developer's permissions, prompt injection inducing them to abuse permissions or exfiltrate credentials, and plaintext session files being copied and replayed. credsd seals refresh tokens, signing keys and static IAM access keys under the macOS Data Protection keychain or Linux TPM 2.0, covers extended sign-in sessions of up to 90 days, and locally records the uid, process ID and executable path of each credential request. When used with the Strands Box sandbox, agents can only see placeholder keys, requests are signed through an egress gateway, credentials do not enter the agent's environment variables or sandbox filesystem, and inline permission-scoping policies can be applied at issuance via sts:GetScopedCredentials.

Read originalaws.amazon.com