Skip to navigation

Secret Manager

Secret Manager keeps the values your applications must not hard-code, such as database passwords, API keys, tokens and TLS keys, in one encrypted, versioned store per workspace. You manage secrets in the portal. Your applications read them at run time over the Vault API, with the tools that already speak it: the bao or vault CLI, Vault SDKs such as hvac, plain HTTP, or External Secrets Operator on Kubernetes. Every change is kept as a new version you can roll back to.

When to use it

The value is…Keep it inWhy
A database password, a third-party API key, a signing key, a TLS private keySecret ManagerOut of code, images and Git; every change versioned; each app gets its own login
An IBEE API token or S3 secret key you just createdSecret ManagerIBEE shows those once only; keep the copy here
A setting that isn’t secret (a URL, a feature switch, a region name)Your app’s environment variables or config fileSecret Manager is for sensitive values, and every read is billed
A login to a Linux VMSSH KeysVMs read SSH keys, not secrets

How it works

  1. You enable Secret Manager in a workspace and choose a namespace, such as acme-payments. IBEE creates an isolated, encrypted store for that workspace. See Enable Secret Manager.
  2. You save secrets at paths such as payments/db. Each secret holds one or more key/value pairs, for example username and password. See Manage secrets in the portal.
  3. You give each application an app credential: a Role ID and a Secret ID it uses to sign in. See App credentials.
  4. Your application signs in and reads from the workspace’s address (for example https://secrets.ibee.ai), sending the namespace with every request. See Read secrets from your app.
  5. When a value changes, you save a new version. The application gets it on its next read; older versions stay until the version limit removes them or you destroy them.
export VAULT_ADDR=https://secrets.ibee.ai # copy it from Secret Manager → Connect
export VAULT_NAMESPACE=acme-payments # your workspace's namespace
export VAULT_TOKEN=$(bao write -field=token auth/approle/login role_id="$ROLE_ID" secret_id="$SECRET_ID")
bao kv get -mount=secret payments/db

Key terms

TermMeaning
NamespaceThe name of your workspace’s store, chosen when you enable Secret Manager. Clients send it as VAULT_NAMESPACE or the X-Vault-Namespace header. It can’t be changed.
AddressThe HTTPS endpoint clients connect to, shown as VAULT_ADDR on the Connect tab, for example https://secrets.ibee.ai.
SecretA path such as payments/db holding one or more key/value pairs. Slashes in the path show as folders.
VersionA saved state of a secret. Every save adds a version; the workspace keeps the last N (10 by default).
secret/Your store. You and your apps read and write here.
ibee-managed/A read-only store for credentials that IBEE products create for your workspace. It’s empty until a product uses it.
App credentialA login for an application, VM, CI job or Kubernetes cluster: a Role ID and a Secret ID (AppRole). Read only or read & write, for every secret or one folder.
CLI sessionA 60-second token that acts as you, for trying commands at a terminal. Not for applications.

The workspace is the environment: use one workspace for production and another for staging, and keep the same paths (payments/db) in both. Don’t put prod/ or dev/ in secret names. See Concepts.

What you can use

TaskTool
Enable, create, view, version, roll back and delete secrets; manage app credentialsThe portal
Read and write secret values from applications and scriptsAny Vault-compatible client at your workspace’s address: bao or vault CLI, bao agent, Vault SDKs (for example hvac for Python), plain HTTP
Sync secrets into KubernetesExternal Secrets Operator with an app credential
Automate setup: enable, list and search secret names, metadata, versions, app credentialsThe IBEE API with an API token. It never reads or writes secret values.

The current ibee CLI (0.8), the Python and TypeScript SDKs (0.8) and the Terraform provider (0.9) don’t include Secret Manager. Their secret_store / secrets stores commands belonged to the retired Secret Store and no longer work. Use the IBEE API and Vault-compatible tools above.

What Secret Manager doesn’t do

  • No AWS Secrets Manager API. It’s Vault-compatible (OpenBao, KV version 2). Code written for the AWS SDK or aws secretsmanager doesn’t work unchanged.
  • Key/value secrets only. Encryption keys (KMS), certificate issuing and dynamic database credentials aren’t available.
  • No automatic rotation. When a password changes at its source, save the new value as a new version.
  • No keyless login yet. Apps, VMs, CI jobs and Kubernetes sign in with an app credential (Role ID and Secret ID). Kubernetes service-account and GitHub OIDC logins aren’t available.
  • No secret values in the IBEE API. Values are read and written only over the Vault API at your workspace’s address.

Pricing at a glance

ItemPrice (excl. GST)
Each secret₹3 / month (covers one stored version)
Each older version kept₹3 / month
Operations (reads, writes, lists, metadata, from any client including the portal)₹4 / 10,000

Storage is charged by the hour; there is no free allowance. Logins, failed requests and enabling cost nothing. See Pricing.

Next steps