Loading...
Loading...
Encrypted credential vault keyed off the agent's Alien Agent ID private key. Store, retrieve, list, and remove external-service credentials (GitHub PAT, Slack token, AWS keys, etc.) without ever hardcoding secrets. Use when the user asks to save, fetch, or remove a service credential, or whenever a downstream tool needs an external-service secret that should not appear in shell history, source files, or process arguments.
npx skill4agent add alien-id/agent-id agent-id-vaultagent-id-setup bootstrap${AGENT_ID_STATE_DIR:-$HOME/.agent-id}bin/cli.mjsCLInode /abs/path/to/plugins/agent-id-vault/bin/cli.mjs# Most secure — never appears in argv or shell history:
node CLI store --service github --credential-file /tmp/gh-token
# From an environment variable (typed/pasted into the calling shell):
GH_TOKEN=ghp_... node CLI store --service github --credential-env GH_TOKEN
# Piped via stdin:
echo "$GH_TOKEN" | node CLI store --service github
# Fallback — visible in process list and shell history, avoid:
node CLI store --service github --credential "ghp_..."--type api-key|oauth|...--url <hint>--username <hint>node CLI get --service github{ ok, service, type, credential, url, username }.credentialGH_TOKEN=$(node CLI get --service github | jq -r .credential)
curl -H "Authorization: Bearer $GH_TOKEN" https://api.github.com/usernode CLI list # metadata only — never returns plaintext credentials
node CLI remove --service github--state-dir <path>$AGENT_ID_STATE_DIR~/.agent-id