
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@aauth/bootstrap
Advanced tools
CLI for setting up AAuth agent keys, registering with a person server, and publishing keys to a hosting platform.
Part of aauth-dev/packages-js. Protocol spec: dickhardt/AAuth.
# Register an agent provider: generate a key, bind it, and bind the default
# person server (person.hello.coop) — all in one command.
npx @aauth/bootstrap create <your-agent-provider-url>
# ...or pick a keystore and person server
npx @aauth/bootstrap create <your-agent-provider-url> --keystore secure-enclave --person-server https://person.example
create detects available keystores (YubiKey PIV, macOS Secure Enclave, software), generates a key in the chosen one (default: software/Ed25519), binds it to the agent provider, and binds a person server. Then load a skill to publish your keys on GitHub Pages, GitLab Pages, Cloudflare Pages, or Netlify.
Output is pretty-printed JSON on stdout (pipe it to jq); errors are { "error": "…" } on stderr with a non-zero exit. Help and skill output are markdown.
Per draft-hardt-aauth-bootstrap §Self-Hosted Enrollment, publication of the JWKS is the enrollment — there is no separate enrollment step. Person binding to a user happens lazily on the agent's first authorized request, per §Agent-Person Binding in the protocol spec.
npx @aauth/bootstrap <command> [flags]
list
List agent providers, their keys, and available keystores
create <agent-provider-url> [--keystore <name>] [--algorithm <alg>] [--person-server <url>]
Register an agent provider (generates its first key, binds a person server)
delete <agent-provider-url>
Delete an agent provider and its keys (incl. from software & Secure Enclave keystores)
token [--agent-provider <url>] [--agent-id <id>] [--local <name>] [--lifetime <s>]
Generate an agent token
skill [name]
Print agent setup guides (markdown)
help [command]
Show help for a command
--help (-h) and --version work as well. Run npx @aauth/bootstrap list to see which keystores and algorithms this machine supports.
Note:
deleteremoves software and Secure Enclave keys for real. A YubiKey PIV key can't be wiped programmatically yet —deleteremoves the binding and reports the slot to clear manually (ykman piv keys delete 9e).
If you are an AI agent helping a user set up AAuth, do not guess what is available. Run the CLI to detect the user's environment first:
# 1. See available keystores + anything already configured
npx @aauth/bootstrap list
# 2. Load the setup skill for step-by-step instructions
npx @aauth/bootstrap skill setup
# 3. List available hosting platform skills
npx @aauth/bootstrap skill
The keystores array in list tells you what key keystores are available on this machine. Use that — not assumptions — to guide key generation. Hardware keystores (Secure Enclave, YubiKey) are always preferred over software (OS keychain).
The skill commands return markdown instructions for the setup flow and each hosting platform. Load and follow these rather than improvising.
@aauth/local-keys — underlying library for key management and signing (use this from other packages)@aauth/fetch — CLI for making AAuth-authenticated HTTP requestsMIT
FAQs
CLI for bootstrapping AAuth agent keys and configuration
The npm package @aauth/bootstrap receives a total of 10 weekly downloads. As such, @aauth/bootstrap popularity was classified as not popular.
We found that @aauth/bootstrap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.