Source: AWS Security Blog
Author: Abhi Yadav
URL: https://aws.amazon.com/blogs/security/introducing-aws-credential-daemon/
ONE SENTENCE SUMMARY:
AWS released open-source credsd to hardware-seal workstation credentials, vend short-lived sessions, and contain AI agents safely.
MAIN POINTS:
- Developer workstations are harder to secure than tightly controlled production environments.
- AWS CLI and SDKs historically stored keys and tokens as plaintext under ~/.aws/.
- Same-user isolation fails because OS DAC can’t distinguish humans from local agents.
- Extended sign-in sessions up to 90 days increase workstation credential exposure.
- Ambient authority lets agents reuse broad permissions without per-use authorization or auditing.
- Prompt injection can trick AI agents into misusing permissions or leaking secrets.
- Portable session files enable replayable cloud access when copied from disk.
- credsd encrypts long-lived material using hardware-backed keys or secure keychains.
- Daemon vends short-lived sessions on demand and logs uid, PID, and executable path.
- Strands Box fetches credentials via Unix socket and signs egress requests without exposing secrets.
TAKEAWAYS:
- Removing plaintext credentials from disks reduces theft, copying, and accidental leakage risks.
- Background session refresh plus on-demand vending preserves familiar AWS CLI workflows.
- Combining sandbox isolation with scoped credentials limits AI-agent blast radius.
- Cleaning leftover shell exports and ~/.aws/credentials entries is essential to prevent fallback exposure.
- Dedicated agent IAM roles improve CloudTrail attribution beyond local workstation telemetry.