> For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://ibee.ai/docs/llms.txt (full text of every page: https://ibee.ai/docs/llms-full.txt). For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://ibee.ai/docs/_mcp/server.

# Secret Manager access and security

> Who can see and change secrets in IBEE Secret Manager - workspace roles, API token scopes, app credential permissions, identity verification and restricted workspaces - how your secrets are protected, and good practices for least privilege, rotation and leaks.

Access to Secret Manager comes from three places: your **workspace role** decides what people can do in the portal and in CLI sessions; an **API token's scope** (plus its owner's role) decides what automation can do through the IBEE API; and each **app credential** decides what one application can read or write over the Vault API. Nothing else grants access, and no setting in Secret Manager itself adds people.

## Workspace roles

Secret Manager uses your organization's [team roles](/docs/platform-fundamentals/team-members-access-roles). Role changes apply within a minute.

| Role                                       | View secrets and **read values** | Create, change, roll back, delete | Enable Secret Manager |
| ------------------------------------------ | -------------------------------- | --------------------------------- | --------------------- |
| **Owner**, **Admin**                       | Yes                              | Yes                               | Yes                   |
| **Technical** (all or selected workspaces) | Yes                              | Yes                               | Yes                   |
| **Collaborator**                           | **Yes, including values**        | No                                | No                    |
| **Billing**                                | No                               | No                                | No                    |

> **Warning**
>
> Collaborators can read secret values. Give people who must not see secrets no access to the workspace, or keep sensitive secrets in a separate workspace they can't open.

* A **CLI session** (Secret Manager → **Connect**) carries your role: a Collaborator's session can read, a Technical member's can also write. It lasts 60 seconds.
* **Changes need identity verification.** Until your organization's [verification](/docs/getting-started/account-setup/verify-your-identity) is complete, saves are refused with `verification_required`, and an editor's CLI session is read-only.
* There are no per-folder or per-secret permissions for people: a role applies to the whole workspace. Use separate workspaces to separate people.

## API tokens

An [API token](/docs/tools/api-tokens) reaches Secret Manager through the IBEE API, which manages names, settings, versions and app credentials but never values.

| Portal permission         | Scope                  | Allows                                                                                                                            |
| ------------------------- | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **Secret Manager → Read** | `secret-manager.read`  | Status, listing, search, metadata, history, and listing app credentials                                                           |
| **Secret Manager → Edit** | `secret-manager.write` | Also enable, change metadata, delete, undelete and destroy versions, delete secrets, and create, rotate or revoke app credentials |

The token acts as its owner, so the owner's current role still applies: a write-scoped token owned by a Collaborator can't change anything. See [Manage with the IBEE API](/docs/tools/secret-manager/api).

## App credentials

Each [app credential](/docs/tools/secret-manager/app-credentials) is a separate login with fixed permissions:

|                                                             | Read only                            | Read & write                         |
| ----------------------------------------------------------- | ------------------------------------ | ------------------------------------ |
| Read values and list                                        | Yes                                  | Yes                                  |
| Create secrets, save versions, delete and undelete versions | No                                   | Yes                                  |
| Destroy versions, delete a whole secret, change settings    | No                                   | No                                   |
| `ibee-managed/` (read only)                                 | Yes, if the credential has no folder | Yes, if the credential has no folder |

With a folder, such as `payments`, the credential reaches only `secret/payments/…`. Credentials belong to the workspace, not to a person: removing someone from the organization doesn't revoke the credentials they created. Revoke or rotate those yourself.

## Restricted and suspended workspaces

If IBEE restricts your organization, for example over unpaid billing, Secret Manager follows automatically, for every person, token and app credential:

* **Read-only (restricted):** values can be read and secrets cleaned up, but nothing new can be saved, and no app credentials or Secret IDs can be created.
* **Suspended:** no one can read secret values, including your applications. Metadata, history and cleanup still work in the portal.

When the restriction is lifted, everything works again with no client changes.

## How your secrets are protected

* **Encrypted at rest** by OpenBao, the open-source, Vault-compatible secrets engine that stores them.
* **Encrypted in transit.** Clients connect over HTTPS with TLS 1.2 or 1.3. Requests over plain `http://` get `404` and never reach the secret store, but a token sent that way has crossed the network unencrypted, so always use `https://`. Traffic from IBEE's gateway to the secret store is encrypted again with mutual TLS.
* **Isolated per workspace.** Each workspace has its own namespace with its own logins and permissions; a token for one workspace can't read another. Customers never get administrator access to the store.
* **Only what's needed is reachable.** The address accepts only reading and writing secrets, version actions, AppRole login and your own token's lookup, renewal and revocation. Administration paths and the web UI aren't reachable from the internet.
* **Every request is audited** by the secret store before it's answered.
* **Running applications don't depend on the portal.** If the portal or the IBEE API is unavailable, apps with a valid token keep reading secrets.

## Good practices

* **One app credential per application**, **Read only**, limited to the application's folder. Use **Read & write** only for tools that must save secrets.
* **Separate environments by workspace**, with the same paths in each (`payments/db`), and a separate credential per environment.
* **Rotate Secret IDs** when someone who had one leaves, if one may have leaked, and on a regular schedule. Issuing a new Secret ID stops the old one at once.
* **Keep Secret IDs and tokens out of code, images and logs.** Pass them as environment variables, files readable only by the app, or Kubernetes Secrets.
* **Turn on Require check-and-set** for secrets that scripts write, so writers can't overwrite each other.
* **Keep enough versions** to roll back from a bad save; 3 or more is a safe minimum.
* **If a value leaks**, change it at its source first (for example, change the database password), save the new value as a new version, then destroy the leaked version.
* **If a Secret ID leaks**, issue a new Secret ID; to also cut off tokens already issued with it, revoke the credential and create a new one.

## Related pages

* [Team members & access roles](/docs/platform-fundamentals/team-members-access-roles)
* [App credentials](/docs/tools/secret-manager/app-credentials)
* [Concepts](/docs/tools/secret-manager/concepts)