Full Byte Developer.

Move AWS keys out of plaintext with Credential Daemon

credsd seals AWS keys under hardware-backed storage, vends short-lived credentials and logs which process asked.

Published here · 3 sources

AWS announced a preview of AWS Credential Daemon (credsd) on 2026-12-01: an open-source local daemon that seals AWS credentials and third-party secrets under a hardware-backed key instead of plaintext files, then vends short-lived credentials to the CLI, SDKs and agents. [1][2]

Related reading: lock Claude Code out of your .env and scan for secrets before pushing AI code. Browse the Security topic.

Check whether long-lived keys sit in plaintext

The AWS CLI stores long-lived access keys in ~/.aws/credentials as plain text readable by any process running as your user. Count how many secret lines you have today:

bash
grep -c aws_secret_access_key ~/.aws/credentials

A non-zero count means a coding agent on the same account can read the same file you can. credsd's design goal is to stop that pattern by sealing the long-lived secret and handing tools a short-lived session instead. [1][2]

Install the preview on macOS or Linux

Warning: the README and getting-started guide label credsd a pre-release preview. Commands, the socket API and on-disk formats may change without a migration. It is not a general secret store. [2][3]

On Linux, the getting-started guide documents a system install after you download and verify a release archive: [3]

bash
sudo install -m 0755 credsd creds /usr/local/bin/
sudo credsd install
credsd status

On macOS Apple Silicon, the same guide documents the official signed package from GitHub Releases, verified with the project KEYS file, then installed with installer -pkg for your user or for all users. [3] After install, open a new terminal and run credsd status. [3]

Bootstrap one credential, then give agents their own

Bootstrap an IAM Identity Center credential. Replace the start URL and region with yours. [3]

bash
creds bootstrap --credential work aws-idc-sso \
  --start-url https://myorg.awsapps.com/start \
  --sso-region us-east-1

Confirm with creds list. [3] Put credentials into a shell with creds get rather than sharing a static profile file: [3]

bash
eval "$(creds get --credential work --format shell)"

The README says the daemon keeps a local audit log of every issuance with the kernel-verified process tree (uid, pid, executable path), and that agent tagging is heuristic and best effort. [2] To separate an agent's CloudTrail calls from yours, give the agent its own credential and IAM role. [2]

You now know whether plaintext AWS secrets sit on disk, how to install the preview and how to bootstrap a named credential without leaving the long-lived key in a shared file.

Send this to the teammate whose coding agent shares their ~/.aws/credentials file.

Keep this guide

By Full Byte Developer

Filed under Security, Dev tools

Questions about this guide

Is AWS Credential Daemon production ready?

No. AWS and the project README call it a pre-release preview. Commands, the socket API and on-disk formats may change without a migration path.

Is credsd a general secret store?

No. The README says it is not a general-purpose secret store and has no API for applications to store and read arbitrary values.

Which platforms are supported?

Preview on macOS and Linux. The official signed macOS package is Apple Silicon only. Windows is on the roadmap for the first half of 2027.

How do I tell an agent's AWS calls apart from mine?

The README says to give the agent its own credential and IAM role so CloudTrail can separate its calls. Local agent tagging in the audit log is heuristic and best effort.

Sources

Next in this stack