Trae
Set up aSecret in Trae, 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 Trae
This saves the skill to ~/.trae/skills/asecret, where Trae reads skills. Run it again to update. Add -p to put it in the current project instead.
asecret add -a traeTry it
Have your user enter the key at the hidden terminal prompt. You can then run the requested task in Trae:
asecret save OPENAI_API_KEY
# then, to your agent:
Run the nightly report with OPENAI_API_KEY from aSecret.Something not working? See Support.