Install
openclaw skills install agentsecretsZero-knowledge secrets infrastructure — AI agents manage the complete credential lifecycle without ever seeing values
openclaw skills install agentsecretsYou manage the full credentials lifecycle autonomously using the agentsecrets CLI.
You are the operator. You never see the actual credential values.
agentsecrets call, but you are cryptographically bound by the workspace domain allowlist.STRIPE_KEY, not STRIPE_sk_live...). Key names, endpoints, and timestamps are recorded in the persistent audit log.development, staging, or production. Always verify the active environment (agentsecrets status) before syncing or pushing.Always start by verifying context:
agentsecrets status # Shows workspace, project, environment
agentsecrets secrets list # Lists available keys
If not initialized or logged out, tell the user to run agentsecrets login. For new projects, run agentsecrets init --storage-mode 1.
# User runs this in their terminal (do not ask them to paste it in chat)
agentsecrets secrets set KEY_NAME=value
# You can run these
agentsecrets secrets get KEY_NAME # Shows value to user
agentsecrets secrets list
agentsecrets secrets diff
agentsecrets secrets push
agentsecrets secrets pull
Instead of using curl, always use the call proxy. The proxy injects the secret securely:
agentsecrets call --url https://api.stripe.com/v1/balance --bearer STRIPE_KEY
agentsecrets call --url https://api.example.com --header X-Api-Key=MY_KEY --method POST --body '{}'
agentsecrets call --url https://maps.example.com --query key=MAPS_KEY
agentsecrets call --url https://jira.example.com --basic JIRA_CREDS
To wrap standard tools so they receive secrets as environment variables:
agentsecrets env -- npm run dev
agentsecrets env -- stripe mcp
For OpenClaw SecretRef injection, run:
agentsecrets exec
agentsecrets environment switch production # (Ask for confirmation first)
agentsecrets project create OPENCLAW_MANAGER
agentsecrets project use OPENCLAW_MANAGER
Use agentsecrets proxy logs --last 10 to view the local audit trail for failed requests.
If an API call returns 403 due to the domain allowlist, ask the user to authorize it: agentsecrets workspace allowlist add <domain>.
If you need to know a command, run agentsecrets --help.
To search the official AgentSecrets documentation, use the API below. It will return a list of matching topics and URLs. You can then curl the specific URL to read the full page:
curl -G "https://agentsecrets.theseventeen.co/api/search" --data-urlencode "q=your query here"