/openbao:openbao-dynamic-aws-credsfrom openbao
Replace a static AWS access key with short-lived STS creds minted by OpenBao's AWS engine via a credential_process wrapper. Covers architecture, bring-up, verification, upgrade caution. Use for a static key or credential_process diagnosis.
Ships in openbao. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
~/.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.
| 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 |
If your secrets platform is a Vault-lineage engine that dropped the AWS plugin from core at some point (OpenBao did, at the fork point from Vault), the engine is an external plugin: stage the prebuilt binary (checksum-verified) onto every relevant node, set the plugin directory, and register it sha256-pinned. A bare "enable the aws engine" on a stock install without that staging step fails.
sts:AssumeRole; the target role's trust policy should already allow the
assumption (a static-key workflow used the same relationship).role_id/secret_id).~/.aws/config to point the profile
at it.# Server side, admin token
bao read aws/roles/<name> # confirm assumed_role type, TTL
bao read aws/sts/<name> # returns live STS creds
# Workstation, under the run-wrapper that injects secret-zero
<run-wrapper> aws --profile <name> sts get-caller-identity # arn ...assumed-role/<name>/...
Treat an engine plugin version bump like root-key rotation: deliberately manual. Bump the pinned version, converge (stages the new binary on every node), re-register with the new checksum, and reload the plugin — don't let this happen implicitly on a routine converge.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jacobpevans-ai/claude-code-plugins --plugin openbao2 skills in this plugin