> 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 > IBEE Secret Manager stores your passwords, API keys, tokens and certificates encrypted and versioned, and your apps read them at run time with Vault-compatible tools (the bao or vault CLI, Vault SDKs, plain HTTP or External Secrets). What it is, how it works, what it supports and what it costs. **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 in | Why | | ---------------------------------------------------------------------------- | ----------------------------------------------- | -------------------------------------------------------------------------------- | | A database password, a third-party API key, a signing key, a TLS private key | **Secret Manager** | Out of code, images and Git; every change versioned; each app gets its own login | | An IBEE API token or S3 secret key you just created | **Secret Manager** | IBEE 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 file | Secret Manager is for sensitive values, and every read is billed | | A login to a Linux VM | [SSH Keys](/docs/tools/ssh-keys) | VMs 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](/docs/tools/secret-manager/enable). 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](/docs/tools/secret-manager/manage-secrets). 3. **You give each application an app credential**: a Role ID and a Secret ID it uses to sign in. See [App credentials](/docs/tools/secret-manager/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](/docs/tools/secret-manager/connect-apps). 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. ```bash 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 | Term | Meaning | | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Namespace** | The 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. | | **Address** | The HTTPS endpoint clients connect to, shown as `VAULT_ADDR` on the **Connect** tab, for example `https://secrets.ibee.ai`. | | **Secret** | A path such as `payments/db` holding one or more key/value pairs. Slashes in the path show as folders. | | **Version** | A 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 credential** | A 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 session** | A 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](/docs/tools/secret-manager/concepts). ## What you can use | Task | Tool | | ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | | Enable, create, view, version, roll back and delete secrets; manage app credentials | The portal | | Read and write secret values from applications and scripts | Any 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 Kubernetes | [External Secrets Operator](/docs/tools/secret-manager/kubernetes) with an app credential | | Automate setup: enable, list and search secret names, metadata, versions, app credentials | The [IBEE API](/docs/tools/secret-manager/api) with an API token. It never reads or writes secret values. | > **Info** > > 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 | Item | Price (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](/docs/tools/secret-manager/pricing). ## Next steps #### [Quickstart](/docs/tools/secret-manager/quickstart) Enable Secret Manager, save a secret and read it from the CLI in about five minutes. #### [Read secrets from your app](/docs/tools/secret-manager/connect-apps) The bao and vault CLI, bao agent, Python, Node.js and curl. #### [Kubernetes](/docs/tools/secret-manager/kubernetes) Sync secrets into Kubernetes Secrets with External Secrets Operator. #### [Access and security](/docs/tools/secret-manager/access-and-security) Who can see values, app credential permissions and good practices. ## Related pages * [Limits](/docs/tools/secret-manager/limits): sizes, version counts, token lifetimes and rate limits * [Troubleshooting](/docs/tools/secret-manager/troubleshooting): every error code and what to do * [Secret Manager API reference](/docs/api-reference/secret-manager/get-secret-manager-workspace) ## Docs - [Secret Manager quickstart](https://ibee.ai/docs/tools/secret-manager/quickstart.md): Enable IBEE Secret Manager in a workspace, save your first secret in the portal, and read it from the bao or vault CLI with a 60-second session, in about five minutes. Then give your application its own app credential. - [Secret Manager concepts](https://ibee.ai/docs/tools/secret-manager/concepts.md): How IBEE Secret Manager is organized - workspaces as environments, the namespace, locations and addresses, the secret/ and ibee-managed/ stores, paths and folders, versions and retention, check-and-set, delete versus destroy, roll back, and read-only or suspended workspaces. - [Enable Secret Manager](https://ibee.ai/docs/tools/secret-manager/enable.md): Turn on IBEE Secret Manager for a workspace in the portal or with the API - choose the location, the namespace and how many versions each secret keeps, follow setup, and fix billing, name and setup errors. - [Manage secrets in the portal](https://ibee.ai/docs/tools/secret-manager/manage-secrets.md): Create, browse, search, view and update secrets in IBEE Secret Manager from the portal - bulk-edit values, save new versions, roll back, delete, undelete or destroy versions, set how many versions a secret keeps, and delete a secret. - [App credentials](https://ibee.ai/docs/tools/secret-manager/app-credentials.md): Give each application, VM, CI job or Kubernetes cluster its own login to IBEE Secret Manager - an AppRole Role ID and Secret ID with read-only or read-write access to every secret or one folder. Create, hand over, rotate and revoke app credentials. - [Read secrets from your app](https://ibee.ai/docs/tools/secret-manager/connect-apps.md): Connect applications and scripts to IBEE Secret Manager over the Vault API - the address, namespace and token every client needs, then the bao and vault CLI, bao agent, Python (hvac), Node.js and curl, with token renewal, caching, retries and rate limits. - [Kubernetes with External Secrets](https://ibee.ai/docs/tools/secret-manager/kubernetes.md): Sync IBEE Secret Manager secrets into Kubernetes Secrets with External Secrets Operator (ESO) and an app credential - install ESO, store the Secret ID, create a SecretStore and an ExternalSecret, use TLS and registry templates, choose a refresh interval, and fix sync errors. - [Manage Secret Manager with the IBEE API](https://ibee.ai/docs/tools/secret-manager/api.md): Automate IBEE Secret Manager with an API token - enable it, list and search secret names, read and change secret settings, manage versions and app credentials. Scopes, roles, every operation, examples with curl, and errors. The API never reads or writes secret values. - [Secret Manager access and security](https://ibee.ai/docs/tools/secret-manager/access-and-security.md): 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. - [Secret Manager pricing](https://ibee.ai/docs/tools/secret-manager/pricing.md): What IBEE Secret Manager costs - ₹3 per secret per month, ₹3 per extra kept version per month and ₹4 per 10,000 operations, excluding GST. How storage and operations are counted, what is never billed, worked examples, and how to keep the bill low. - [Secret Manager limits](https://ibee.ai/docs/tools/secret-manager/limits.md): Every limit in IBEE Secret Manager - namespace and path rules, secret size, versions, metadata, app credentials, token lifetimes, request rate limits per namespace and IP address, request size and timeouts. - [Troubleshooting Secret Manager](https://ibee.ai/docs/tools/secret-manager/troubleshooting.md): Fix IBEE Secret Manager errors - Vault API answers from apps, the CLI and External Secrets (404, 403 permission denied, 400 check-and-set, 429, 503), IBEE API error codes, and portal messages - with what each one means and what to do.