openbao-dynamic-aws-creds

openbao-dynamic-aws-creds is a skill for Claude Code from dryvist/claude-code-plugins. It costs 102 tokens per session (1,314 once invoked), scanned A, original, Apache-2.0.

A setup for giving workstations and continuous-integration jobs short-lived AWS credentials through OpenBao or Vault, instead of storing permanent access keys.

In plain words
What is it for?
Use it to configure AWS profiles that obtain temporary Security Token Service credentials on demand through AWS's credential process.
Why use it?
It reduces the risk of leaked AWS keys and avoids manually rotating credentials on every computer or build runner.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the openbao plugin — 2 skills shipped together

Good fit Use it to configure AWS profiles that obtain temporary Security Token Service credentials on demand through AWS's credential process.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dryvist/claude-code-plugins/openbao-dynamic-aws-creds
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dryvist/claude-code-plugins --skill openbao-dynamic-aws-creds
Clone the repo
git clone --depth 1 https://github.com/dryvist/claude-code-plugins

Made for: Claude Code.

Or install openbao, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openbao-dynamic-aws-creds

README.md
[![agentmods](https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/openbao-dynamic-aws-creds.svg)](https://agentmods.dev/skills/dryvist/claude-code-plugins/openbao-dynamic-aws-creds)
Your own site
<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/openbao-dynamic-aws-creds"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/openbao-dynamic-aws-creds.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,314 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.01314
Opus 5 $0.00051 $0.00657
Sonnet 5 $0.00020 $0.00263
Haiku 4.5 $0.00010 $0.00131

Measured 3d ago against content hash da8d7845bb9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

openbao-dynamic-aws-creds scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

openbao/skills/openbao-dynamic-aws-creds/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dynamic AWS credentials from a central secrets engine

A workstation or CI runner never needs to hold a static AWS access key. The AWS secrets engine (assumed_role type) keeps one long-lived base-user key server-side inside the secrets store, and mints short-lived STS sessions for a target role on demand. The consumer picks these up through AWS's own credential_process mechanism — no key on disk, no key to rotate on the consumer side. A leaked workstation credential under this model is a non-event: it expires on its own within the hour.

Architecture

~/.aws/config  [profile <name>]
  credential_process = <your-wrapper> <name>
        │  reads AppRole secret-zero (role_id/secret_id + the secrets-store
        │  address) from the ambient environment
        ▼
secrets-store  aws/sts/<name> ── sts:AssumeRole ──▶ role/<name>
  root = the base-user key (engine config, seeded once from your top secret
          tier — never committed, never in a workspace variable)
  returns AccessKeyId / SecretAccessKey / SessionToken, short TTL

Secret-zero — the AppRole credentials the wrapper needs just to authenticate to the engine — lives only in your highest-trust secret tier and reaches the wrapper as ambient environment (a run-wrapper like doppler run or equivalent): run your IaC tool under that wrapper, and the credential_process child process inherits the environment. Nothing is stored in a local keychain or .env file.

Where each piece lives (generic shape)

Piece Owns
Engine mount + role + RBAC Stages the AWS-engine plugin, mounts it, writes the root config (write-once) and the target role, grants the calling AppRole read+update on aws/sts/<name> and nothing else
credential_process wrapper A small binary/script: reads secret-zero from the ambient env, authenticates to the engine, caches the STS response locally (mode 0600), refreshes proactively before expiry
~/.aws/config profile Points the named profile's credential_process at the wrapper instead of a static key or a source_profile/role_arn chain

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 108 lines · 102 tokens per session scan A da8d7845bb9d

Subscribe to this mod's changes

openbao-dynamic-aws-creds is a skill published in the GitHub repository dryvist/claude-code-plugins (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 102 tokens to every session and 1,314 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.