AiMANAC Vault

Automated API key rotation for fleet deployments: mint keys via provider admin APIs, distribute to your backends, verify health, revoke old keys. Optional IHP encryption for credentials in transit. The app package name in the repository is aimanac-vault.

What it does

Install (from source)

There is no published Docker image in the open repo; run from a clone of the AiMANAC vault/ tree.

cd vault
npm install
npx prisma migrate dev

Copy .env.template to .env and fill admin API keys and fleet settings per the template comments. Configure fleet members in src/config/fleet.ts or FLEET_MEMBERS_JSON.

Configure

CLI usage

npx ts-node src/index.ts                 # normal rotation cycle
npx ts-node src/index.ts --dry-run        # preview
npx ts-node src/index.ts --force          # force rotation
npx ts-node src/index.ts --member 1       # one member
npx ts-node src/index.ts --provider openai

MCP (Claude Code / Cursor)

Register the vault MCP server (stdio) using your client’s config. See vault/MCP_SETUP.md in the repository for the exact JSON. Exposed tools include:

← Home