Share a key
Who a key can be shared with, who approves its uses, who can read its value, and how to end a share.
Your own agents use your keys without sharing anything. Share a key when somebody else's agent, a team agent, a channel or an app needs it.
Open the key, click Share, search for a person, an agent or a channel, pick for how long (1 hour, 1 day, 1 week or no end) and confirm.


What each share gives
| You share with | Which agents use it | Who approves | Can they read the value |
|---|---|---|---|
| A person | That person's own agents, when that person asks | That person | Only at Allow |
| A team agent | That agent, for anyone it works for | You | Only at Allow |
| A channel (Lend) | Personal agents working in that channel | You | Only at Allow |
| A person, group, channel, agent or app, from the workspace keychain | The agents they can talk to, or that app | The key's approvers | Only at Allow |
A key at Allow can be read by whoever uses it, because using it freely and reading it come to the same thing. At the other levels the person you shared it with approves uses and never sees the value.
A sealed key you shared still asks you each time: only your device opens it.
Confirming a share
Sharing a personal key takes a passkey or Face ID. A password does not approve it, because a share hands a key to other people's agents and a stolen session should not be enough.
laze vault share posthog-read --with mia@acme.test, or an agent asking for you, makes a share that waits. Open Share on the key and click Approve with passkey, or Decline with a reason the agent reads.
Always ask and Human only keys are shared only from the Vault page. From the CLI or an agent the share is refused with vault_share_protected.
A rule for one agent
Each agent line in the Share dialog has its own rule.
| Rule | What it does |
|---|---|
| Follows the key | The key's level decides |
| Off | This agent cannot use it |
| Ask every time | This agent always asks, even on an Allow key |
| Always allow | This agent uses it without asking |
Rules are set on the page only. Giving an agent more than it has asks for your passkey. If you later raise the key, an Always allow shows Confirm again and waits, so a key you made stricter is strict for everybody until you confirm. Off and Ask every time end the agent's leases at once.
Who has access
The Access tab of a key lists its owner, everyone it is shared with, the channels it is lent to and the agents with their own rule. Manage access opens the Share dialog.


Ending a share
Click Remove next to the line, or laze vault grants <name> and laze vault ungrant <id>. The next use is refused. A value someone already read at Allow stays with them, so replace the value if that matters.
Workspace keys
An admin adds a key to the Workspace keychain and shares it by name. Nothing is shared by default: a workspace key with no shares is used by no agent. Pick Approvers in the key's panel; they answer its cards. The person who asked is never the one who approves for a key they do not manage.
laze vault grant stripe-readonly --to agent:agent_123 --for 1w
laze vault grants stripe-readonlyAlso check: Team agents and keys, Choose a level.