Introducing AWS Credential Daemon

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:

  1. Developer workstations are harder to secure than tightly controlled production environments.
  2. AWS CLI and SDKs historically stored keys and tokens as plaintext under ~/.aws/.
  3. Same-user isolation fails because OS DAC can’t distinguish humans from local agents.
  4. Extended sign-in sessions up to 90 days increase workstation credential exposure.
  5. Ambient authority lets agents reuse broad permissions without per-use authorization or auditing.
  6. Prompt injection can trick AI agents into misusing permissions or leaking secrets.
  7. Portable session files enable replayable cloud access when copied from disk.
  8. credsd encrypts long-lived material using hardware-backed keys or secure keychains.
  9. Daemon vends short-lived sessions on demand and logs uid, PID, and executable path.
  10. Strands Box fetches credentials via Unix socket and signs egress requests without exposing secrets.

TAKEAWAYS:

  1. Removing plaintext credentials from disks reduces theft, copying, and accidental leakage risks.
  2. Background session refresh plus on-demand vending preserves familiar AWS CLI workflows.
  3. Combining sandbox isolation with scoped credentials limits AI-agent blast radius.
  4. Cleaning leftover shell exports and ~/.aws/credentials entries is essential to prevent fallback exposure.
  5. Dedicated agent IAM roles improve CloudTrail attribution beyond local workstation telemetry.