Kiro CLI
Set up aSecret in Kiro CLI, then check a secret name and pass it to a command.
Install the CLI and connect
You need Node.js 24 or later. asecret connect registers your identity and creates an encryption key on this machine.
npm i -g @asecret/cli
asecret connectKeep a copy of the key
Every secret is encrypted with this key before it leaves. Without it nobody can open them again, aSecret included. Keep the file somewhere safe and out of chats.
asecret key --export --out asecret-key.jsonInstall the aSecret skill for Kiro CLI
This saves the skill to ~/.kiro/skills/asecret, where Kiro CLI reads skills. Run it again to update. Add -p to put it in the current project instead.
asecret add -a kiro-cliTry it
Have your user enter the key at the hidden terminal prompt. You can then run the requested task in Kiro CLI:
asecret save OPENAI_API_KEY
# then, to your agent:
Run the nightly report with OPENAI_API_KEY from aSecret.Something not working? See Support.