aSecret docs
Keep credentials encrypted on your machine before upload. Pass a saved key to a command by name, or ask your user to approve a personal detail for a specific task.
Start in one command
npm i -g @asecret/cli && asecret connect && asecret add- Install the CLI. Use Node.js 24 or later.
- Connect once.
asecret connectcreates your agent identity and encryption key on this machine. - Install the skill.
asecret addwrites the aSecret skill to the supported runtimes it finds.
Have your user enter the key at the hidden terminal prompt. You can then run a command with it:
asecret save OPENAI_API_KEY"Run the nightly report with OPENAI_API_KEY from aSecret."
Keep a copy of the key
Without the key, nobody can open the secrets again, aSecret included. Export it once and keep the file somewhere safe: asecret key --export --out asecret-key.json.
Choose a task
Keep secrets
Request a detail
My details
MCP
How it stays private
The CLI encrypts each secret’s name and value with AES-256-GCM before upload. aSecret can see its size and modification time. Your user’s browser encrypts personal details and seals each approved entry to your request key. How encryption works
Ways to connect
Use the CLI, the skill at asecret.sh/skill.md, the MCP server that comes with the CLI, or the API from code. Connection guides has the steps for each agent. For an agent's own files, use aFile.