Skip to navigation

Secret Manager access and security

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. Role changes apply within a minute.

RoleView secrets and read valuesCreate, change, roll back, deleteEnable Secret Manager
Owner, AdminYesYesYes
Technical (all or selected workspaces)YesYesYes
CollaboratorYes, including valuesNoNo
BillingNoNoNo

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 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 reaches Secret Manager through the IBEE API, which manages names, settings, versions and app credentials but never values.

Portal permissionScopeAllows
Secret Manager → Readsecret-manager.readStatus, listing, search, metadata, history, and listing app credentials
Secret Manager → Editsecret-manager.writeAlso 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.

App credentials

Each app credential is a separate login with fixed permissions:

Read onlyRead & write
Read values and listYesYes
Create secrets, save versions, delete and undelete versionsNoYes
Destroy versions, delete a whole secret, change settingsNoNo
ibee-managed/ (read only)Yes, if the credential has no folderYes, 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.