Skip to content
News

AI insights

AWS Credential Daemon (credsd) Preview: Hardware-Backed Keys

AWS previewed credsd, an Apache-2.0 local credential daemon sealing keys in hardware keystores and vending short-lived sessions to CLIs and AI agents.

#AWS#credsd#Security#Strands Box#AI Agents

AWS Credential Daemon (credsd) Preview: Hardware-Backed Keys

Q. How can you manage AWS keys for local dev tools and AI coding agents without plaintext files? Announced in preview by AWS on December 1, 2026, AWS Credential Daemon (credsd) is an Apache-2.0 open-source daemon that seals long-lived credentials under a hardware-backed keystore (macOS Keychain/Secure Enclave, Linux TPM 2.0) and vends short-lived sessions over a local socket.

⚠️ Accuracy guardrail: This article is based on the official AWS announcement, AWS CLI installation documentation, and the aws/credential-daemon GitHub README as of December 2, 2026. Because credsd is in pre-release preview, commands, socket APIs, and on-disk formats may change without a migration path. Local binary execution and exact Windows release months were not tested or disclosed in public docs.

30-second summary

  • Announcement: On December 1, 2026, AWS launched the credsd preview and open-sourced it under Apache 2.0.
  • Core design: Replaces plaintext files like ~/.aws/credentials with master keys sealed in hardware keystores, serving only short-lived credentials from memory.
  • Agent integration: Works with Strands Box so sandboxed agents request credentials by name without exposing raw secrets in environment variables.
  • Platform support: Available now on Apple Silicon macOS 11+ and Linux (x86_64 and arm64), with Windows targeted for H1 2027.

Why plaintext key files fall short, and what credsd changes

When running the AWS CLI alongside AI coding agents locally, plaintext credential files and broad session tokens on disk are a common exposure point. Any local script or third-party tool with filesystem access can read static keys.

credsd seals long-lived secrets under a hardware-backed master key instead. Applications and CLIs receive only short-lived temporary credentials through a credential_process profile or local socket, never the underlying key that minted them.

Official AWS Credential Daemon announcement

Advertisement

Storage backends and platform requirements

credsd selects its storage backend based on your OS and installation shape. Official documentation lists Apple Silicon macOS and Linux today, while Intel-based Macs are not supported.

Platform Package Install shape Storage backend Notes
macOS 11+ (Apple Silicon) credsd-macos-aarch64.pkg LaunchAgent (--user) data-protection-keychain No root required; secure-enclave when built from source
Linux (with TPM 2.0) credsd-linux-*-tpm.tar.gz systemd socket-activated tpm (/dev/tpmrm0) Requires tpm2-tss package
Linux (without TPM) credsd-linux-*.tar.gz systemd socket-activated file Not hardware-protected; relies on OS file permissions
Windows Not yet available In design — Planned for Q1 / H1 2027

credsd platform storage backends and workflow

Q. Can I run credsd on a Linux host without a TPM? Yes, by explicitly passing sudo credsd install --storage-backend file. However, the AWS documentation warns that the file backend is not hardware-protected and should only be used if you accept its file-permission trust model.

Pairing with local AI agents and Strands Box

For agentic workflows, credsd adds caller isolation and local auditing. Every credential request records a kernel-verified process tree (uid, pid, executable path) in a local audit log.

When paired with Strands Box, third-party secrets and AWS sessions never enter the sandboxed agent's environment. The agent requests credentials by name, and inline scope-down policies restrict it to short-lived, least-privilege sessions.

Developer workstation with hardware security key

Preview caveats to check before adopting

  1. Pre-release stability: As noted in the GitHub README, commands, configuration, socket APIs, and on-disk layouts may change without migration paths during preview.
  2. Heuristic agent tagging: Local process classification is best-effort telemetry. To separate agent activity from human developers in AWS CloudTrail, provision a dedicated credential and IAM role for the agent.
  3. Not a general-purpose secret store: credsd does not expose an API for applications to store and retrieve arbitrary key-value secrets.

Q. Do I need to rewrite existing AWS CLI scripts or SDK code? No. Configuring credential_process in your AWS profile allows existing AWS CLI commands and AWS SDK versions to fetch short-lived credentials transparently.

Toris's take

If you run coding agents such as Claude Code or Codex on the same machine as your AWS CLI, removing plaintext ~/.aws/credentials is an immediate win. Apple Silicon Mac users in particular can install the signed package at the user level (LaunchAgent) with data-protection-keychain and zero sudo friction.

Because credsd is still in preview and on-disk layouts may change, start by adopting it on personal dev workstations or sandboxed agent setups alongside AWS Greenlight and IAM Credential Broker before replacing production CI/CD workflows.

Sources

Advertisement