Cloud Servers

AWS Credential Daemon (credsd) in Preview: Your ~/.aws Keys Finally Leave Plaintext — What Server Teams Should Do

12 min read

AWS Credential Daemon (credsd) in Preview: Your ~/.aws Keys Finally Leave Plaintext — What Server Teams Should Do

The Short Answer

On December 1, 2026, AWS announced a preview of AWS Credential Daemon (credsd), an open-source local credential manager that seals AWS credentials and third-party secrets under a hardware-backed key in your machine’s keystore instead of writing them to plaintext files on disk. With the preview integration in the AWS Command Line Interface (AWS CLI), the CLI can store credentials in the daemon, refresh sessions in the background, and vend temporary security credentials on demand — without requiring application code changes. The announcement was checked on AWS’s own What’s New page on December 5, 2026.

Three things decide whether you should care. First, the target is the oldest weak spot in AWS workflows: long-lived secrets sitting in readable files under ~/.aws/ on every developer workstation and jump host. Anything that can read that file — malware, a stolen laptop image, or a local AI coding agent talked into opening it — owns the account until the key is rotated. Second, credsd changes custody, not permissions: it isolates access at the caller level, applies inline scope-down policies so tools and agents receive only short-lived, least-privilege credentials, and keeps a local audit log of every issuance. Third, it is a preview: AWS lists macOS and Linux signed release packages (installed through the AWS CLI or standalone) plus Apache 2.0 open-source code on GitHub, and no price is stated in the announcement. Windows is not in the preview scope AWS describes.

For anyone who runs servers, deploys from a laptop, or lets an AI agent touch cloud credentials, this is the first AWS-built answer to a problem the industry has patched around for years. Below is what AWS actually shipped, how it differs from the plaintext status quo, and the sensible order to adopt it without breaking your deploy pipeline.

What AWS Announced, and What We Verified

AWS’s What’s New post, titled “AWS announces preview of AWS Credential Daemon for on-host credentials management,” is short and specific. Read on December 5, 2026, it confirms these facts in AWS’s own words:

  • Name and status: AWS Credential Daemon (credsd), in preview.
  • What it is: a new open-source local credential manager that securely seals AWS credentials and third-party secrets under a hardware-backed key in the machine’s keystore, instead of plaintext files on disk.
  • CLI integration (also preview): the AWS CLI can securely store credentials in the daemon, refreshing sessions in the background and vending temporary security credentials on demand, without application code changes.
  • Agent and tool integration: you can integrate credsd directly with your own local tools and AI agents, or pair it with Strands Box to retrieve credentials by name — including third-party secrets — so they are never placed in a sandboxed agent’s environment.
  • Security model: centralized credential retrieval logic; plaintext removed from disk; credential access isolated at the caller level; inline scope-down policies so agents and tools receive only short-lived, least-privilege credentials; a local audit log of every credential issuance; and no manual credential rotation processes.
  • Availability: preview on macOS and Linux as signed release packages (installed directly through the AWS CLI or standalone), and as open-source code under the Apache 2.0 license, with the project repository on GitHub at aws/credential-daemon.

That is the verified core. Everything else in this article is analysis of what those facts mean for server teams — not additional AWS claims. Where secondary coverage adds detail (for example, exact install commands or roadmap dates), we treat it as unverified unless AWS’s own page or repository states it, and we flag the difference.

Why Plaintext ~/.aws Became Untenable in 2026

The AWS CLI and SDKs have historically kept access keys, sign-in sessions, and session caches as plaintext files in the user’s home directory. That design was tolerable when the only software running as your user was software you wrote. It is not tolerable now, for two reasons AWS’s own recent launches make obvious.

The first is local AI coding agents. An agent that can run shell commands as you can read every file you can read. Prompt injection, a poisoned dependency, or a careless “show me your config” instruction can turn ~/.aws/credentials into an exfiltration target. We covered the same failure mode from the sandbox side in Docker Sandboxes CVE-2026-136998: One Approval Was Enough to Steal Your AI API Keys — one approval was enough because the secret was sitting in the environment, readable by design. credsd’s answer is to make the long-lived secret unreadable even to processes running as you: sealed under a hardware-backed key, with only short-lived vended credentials crossing the boundary.

The second is session length. Modern sign-in sessions can last far longer than the old one-hour tokens developers remember. A copied session file is no longer a one-hour problem; it can be weeks of access. Short-lived vending shrinks that blast radius by construction: what a tool receives expires quickly, and what the daemon holds never leaves the keystore in usable form.

Neither problem is solved by “be more careful.” Both are custody problems, and custody is exactly what a daemon with a hardware-backed key is for.

How credsd Differs From the Status Quo

The cleanest way to read the announcement is as a before-and-after table. Every row below comes from AWS’s What’s New text; the “status quo” column describes the plaintext-file behavior AWS says credsd replaces.

Aspect Plaintext ~/.aws files (status quo) AWS Credential Daemon (preview, Dec 1, 2026)
Where long-lived secrets live Plaintext files on disk, readable by any process running as the user Sealed under a hardware-backed key in the machine’s keystore
What tools receive The long-lived key or session itself, copied into files and environments Temporary, short-lived credentials vended on demand
Session refresh Manual re-login or scripts; rotation is a human process Background refresh by the daemon; AWS says manual rotation processes are eliminated
Least privilege Whatever the stored key can do, every caller can do Inline scope-down policies: agents and tools get only least-privilege credentials
Caller isolation None — any local process reads the same file Access isolated at the caller level
Audit trail None locally; you learn about misuse from CloudTrail after the fact Local audit log of every credential issuance
Agent environments Secrets placed in the agent’s environment to be usable Paired with Strands Box, credentials retrieved by name and never placed in the sandboxed agent’s environment
Application code changes n/a None required, per AWS, via the CLI preview integration
Platforms in preview Everywhere macOS and Linux (signed packages); Windows not listed
License / price n/a Apache 2.0 open source; no price stated in the announcement

Two rows deserve emphasis. Scope-down policies are the difference between “the agent has my keys” and “the agent has a one-hour token that can do three things.” That pairs naturally with the direction AWS took in AWS STS GetScopedCredentials: Narrower Keys for Every AI Agent, No New Roles Required — narrower, shorter credentials per caller instead of one broad key for everything. And the local audit log closes a gap CloudTrail cannot: CloudTrail tells you what the credential did in AWS; the daemon’s log tells you which local process asked for it in the first place.

Where It Fits in AWS’s Agent-Security Push

credsd did not arrive alone. It is the workstation half of a pattern AWS has been building all quarter: give every agent its own identity, its own narrow permissions, and credentials that expire before they can be abused. We covered the identity half in AWS IAM for Agents in Preview: Every AI Agent Gets Its Own Verifiable Identity — roles decide what an agent may do, identity shows who did it. credsd covers the custody half: even a correctly identified agent should never hold your long-lived secret, only a short-lived, scoped derivative of it.

Read together, the three pieces describe a coherent model:

  1. Identity — each agent is a distinct, verifiable principal, not “the developer, but automated.”
  2. Scope — each issuance is narrowed inline to the task, not inherited wholesale from a stored key.
  3. Custody — the long-lived secret never leaves hardware-backed storage; only expiring tokens circulate.

That model matters beyond AWS. The same three questions apply to any VPS, dedicated server, or homelab box where an AI agent, a CI runner, or a deploy script holds cloud keys: who is this caller, how narrow is this credential, and where does the master secret actually live? credsd is AWS’s answer for its own CLI ecosystem. Teams on other clouds should steal the questions even if they cannot use the tool.

What Server Teams Should Do Now

Do not rip out working pipelines for a preview. AWS labels credsd a preview, and previews change. The sensible adoption order is:

Step 1 — Inventory your plaintext. Find every workstation, jump host, and build machine with long-lived keys in ~/.aws/. That list is your exposure map, and you need it whether or not you adopt credsd. Pay special attention to machines where AI coding agents run with shell access.

Step 2 — Pilot on one developer machine. Install the signed package on a single macOS or Linux workstation, move one low-risk profile into the daemon, and confirm your CLI and SDK workflows still work with vended credentials. AWS says no application code changes are required via the CLI integration — verify that claim against your own scripts before believing it at scale.

Step 3 — Test the agent path explicitly. If you run local AI agents, test the exact scenario credsd is built for: can the agent still do its job when it can only receive short-lived, scoped credentials, and does the audit log show you every issuance? This is also where the Strands Box pairing matters — credentials retrieved by name, never placed in the agent’s environment.

Step 4 — Keep servers on instance roles, not copied keys. credsd is an on-host tool for workstations and local tools. Production servers should already be using IAM roles attached to the instance rather than static keys copied onto disk. If your VPS or dedicated server still holds a long-lived AWS key in a file, fixing that is higher priority than any workstation daemon.

Step 5 — Plan the Windows gap. If your team includes Windows workstations, the preview does not cover them. Keep those machines on short-lived sign-in flows and strict file hygiene until AWS ships a Windows build, and do not let the gap become a reason to delay the macOS/Linux rollout.

The Honest Limits

It is a preview, and previews break. Commands, formats, and integration points can change before general availability. Pin your pilot to a known release, read the GitHub repository’s release notes before upgrading, and keep a documented rollback to your previous credential setup.

Hardware-backed custody raises the bar; it does not end the game. A daemon that vends credentials to local callers can still be asked by a compromised local process. Scope-down policies and short lifetimes limit the damage, and the audit log makes it visible — but endpoint compromise remains endpoint compromise. credsd shrinks the value of what an attacker can steal from disk; it does not make a hostile process on your machine safe.

No price is stated. The code is Apache 2.0 open source and the packages are signed releases, but AWS’s announcement does not state pricing for the preview or any future service. Anything you call with vended credentials bills as normal AWS usage. Do not budget on assumptions the announcement does not make.

Third-party secrets are in scope, with care. AWS says credsd seals third-party secrets as well as AWS credentials, and Strands Box can retrieve them by name. That is powerful — and exactly the kind of consolidation that deserves a slow, audited rollout rather than a Friday-afternoon migration of every API key you own.

FAQ

What is AWS Credential Daemon (credsd)?
An open-source local credential manager, announced in preview by AWS on December 1, 2026. It seals AWS credentials and third-party secrets under a hardware-backed key in your machine’s keystore instead of plaintext files, refreshes sessions in the background, and vends temporary credentials on demand.

Which platforms does the preview support?
macOS and Linux, per AWS’s announcement, as signed release packages installed through the AWS CLI or standalone. Windows is not listed in the preview scope.

Do I need to change my application code?
AWS says no: with the CLI preview integration, the AWS CLI stores credentials in the daemon and vends temporary credentials without requiring application code changes. Verify against your own scripts during a pilot.

Is credsd free?
The code is open source under Apache 2.0. AWS’s announcement states no price for the preview. AWS usage you make with vended credentials bills normally.

Does credsd replace IAM roles on servers?
No. It is an on-host custody tool for workstations and local tools/agents. Servers should use instance roles rather than static keys on disk.

Where do I get it?
From the project repository on GitHub (aws/credential-daemon) or as signed packages installed through the AWS CLI, per AWS’s announcement. Start with the AWS CLI documentation linked from the What’s New post.

The Bottom Line

AWS Credential Daemon is the right tool aimed at the right problem: in 2026, the most dangerous file on a developer’s machine is the plaintext credential store every local process — including every AI agent — can read. Sealing long-lived secrets under a hardware-backed key, vending only short-lived scoped credentials, isolating access per caller, and logging every issuance is a materially better custody model than ~/.aws files, and AWS built it without demanding application rewrites.

The discipline is in the rollout: pilot on one machine, test the agent path on purpose, keep production servers on instance roles, and remember it is still a preview with no stated price and no Windows build. Do that, and credsd earns its place. Skip the pilot and migrate everything at once, and you will learn about preview breakage the hard way.

Sources: AWS What’s New, “AWS announces preview of AWS Credential Daemon for on-host credentials management” (December 1, 2026, checked December 5, 2026) — https://aws.amazon.com/about-aws/whats-new/2026/12/aws-credential-daemon/ ; project repository aws/credential-daemon on GitHub (linked from the AWS announcement).

Leave a Reply

Your email address will not be published. Required fields are marked *