Teams: company vaults, policy and offboarding
How BotPassword shares credentials in a company: collections, roles, agent policy for company credentials, offboarding, and company recovery.
BotPassword lets a company share credentials through collections, let members and agents use them under company policy, and remove a member without leaving their access live. Personal and company vaults have separate key hierarchies, and joining an organization does not make personal items company-readable. Company features build on the personal and agent features.
How are company vaults organized?
A company collection is a cryptographic sharing boundary, not just a folder. Each collection has a random key, wrapped to each authorized member’s account key using hybrid post-quantum encryption. An item shared individually gets its own envelope, so it does not silently expose its whole parent collection. Roles are owner, admin, member and auditor. Auditors read specifically authorized audit data, not a vault decryption key.
| Concept | Meaning |
|---|---|
| Organization | Company authority, with a signed roster chain that clients verify |
| Collection | A cryptographic sharing boundary with its own key and epoch |
| Collection access | An explicit grant to a member |
| Broker-only use | An explicit grant to use a credential without receiving its key |
What is use-only access?
For genuine use-only access, a colleague or agent calls a broker and never receives the credential’s decryption key; the broker enforces allowed operations. A UI “hide password” setting is not a cryptographic restriction once a human client holds the key. API results can still expose authorized data, so use-only does not make an account’s information unknowable.
How does agent policy work for company credentials?
Company credentials follow the same intents and grants, with company authority on top.
- Company-owned credentials use short authorization leases of at most 60 seconds from the organization’s Durable Object. Each renewal re-checks membership and grant state.
- Revocation is pushed to connected brokers, with a target below 2 seconds at p95. If the control service is unreachable, no lease renews and sensitive operations stop at expiry.
- Company policy can forbid autopilot for company credentials and can change the rotation grace period.
- Hosted or remote agents reach a company broker over Streamable HTTP MCP with OAuth client authentication. A vendor-custodied hosted broker is not offered.
What happens when a member leaves?
- An admin signs a roster change removing the member.
- In one transaction, the organization verifies the signature and chain, removes membership, revokes the member’s grants and sessions, and advances the key epoch.
- Connected brokers are told the lease is invalid; cached leases expire within 60 seconds.
- The organization records the provider rotations that are needed, and rotates credentials that require revocation at the provider. See Rotation.
- Activity history is retained without keeping an active principal.
Removing a key envelope does not recall plaintext or keys the member already downloaded. That is why offboarding includes rotating credentials at the provider, scoped to what the member could previously read. The member’s personal vault stays theirs.
How does recovery work?
Personal recovery uses a trusted device or the emergency kit with the master password. Company recovery is a separate policy for company-owned data and is visible at enrollment. Company recovery uses a 2-of-3 arrangement held by independent company custodians and a documented reconstruction ceremony. It is not a two-approval UI over one key. Email access alone cannot recover a personal vault.
What is not covered?
Advanced enterprise federation and SCIM are outside version one. Company features rely on verified invitations, organization recovery, offboarding and collection isolation tests, and independent review should cover them before you move important company credentials. See Security model and /teams.
Next steps
- Grants and approvals
- Overview
- /security for the review status