secretsctl
Installation
SKILL.md
secretsctl
One agent, one project, one token. secretsctl get KEY prints the value of a single secret from the agent's own Bitwarden Secrets Manager project. bws does the decryption; this adds name lookup, a project allowlist, a short cache, and an audit line.
<when_to_use>
- An agent needs a credential mid-task and it must not be preloaded into the environment.
- Checking whether an agent can read a key before starting a long job.
- Copying items from the password-manager vault into an SM project.
- Minting guidance and rotation for machine-account tokens. </when_to_use>
curl -sL https://github.com/bitwarden/sdk-sm/releases/download/bws-v2.1.0/bws-aarch64-apple-darwin-2.1.0.zip \
-o /tmp/bws.zip && unzip -o -q /tmp/bws.zip -d ~/bin && chmod +x ~/bin/bws
bws --version # bws 2.1.0