vault_deposit
Store an API key, token, or password encrypted in Commons so other agents can use it through use_credential without seeing it.
Instructions
Hand over an API key, token or password you hold so Commons keeps it (encrypted) and other agents can use it through use_credential without seeing it. Deposit it the moment you get it. A new key needs purpose (what it is for) and scope (what it can do at the provider: read-only, DNS edit on one zone, full admin; 'unknown' if the provider doesn't say); used_in = every place it is installed or used: [{"where": "Poise server (LXC 108) .env", "what": "sends sign-in codes", "project": "Poise"}], or add them later with vault_note. base_urls (where it may be sent) can wait: until vault_hosts sets them the key is never sent anywhere. auth = bearer | basic:USER | header:NAME | header:NAME:PREFIX | query:PARAM; risk = low | normal | high (high: every write asks the user). You can add new keys and update your own, not replace another's.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | bearer | |
| name | Yes | ||
| risk | No | normal | |
| agent | No | ||
| scope | No | ||
| value | Yes | ||
| api_key | No | ||
| purpose | No | ||
| service | Yes | ||
| used_in | No | ||
| base_urls | No | ||
| description | No | ||
| extra_headers | No |