Enable Secret Manager
Enabling Secret Manager creates an encrypted store for one workspace. You choose three things, and two of them are permanent: the location and the namespace can’t be changed later, and the versions to keep becomes the workspace default for every secret. Setup usually takes a few seconds. Enabling is free; you pay for the secrets you store and the operations you make.
Before you begin
- Role: the Owner, an Admin, or a Technical member with access to the workspace. Collaborators see the page read-only: “Read-only access. Ask a workspace admin to enable it.”
- Identity verification for your organization. Until it’s done, the button reads Complete KYC or Verify Identity. See Verify your identity.
- Billing: enabling goes through the billing check.
- A namespace name that follows the rules below.
Choose a namespace
Your applications send the namespace with every request (VAULT_NAMESPACE), so pick something short and specific to the workspace, such as acme-payments or acme-payments-staging.
- 3–32 lowercase letters, digits and single hyphens, starting and ending with a letter or digit.
- Not reserved: names made only of digits, names starting with
ibee,i-bee,ws-,sm-,openbao,vault,hashicorp,kube,k8s-,admin,internal,officialorsupport, and common words such asprod,dev,test,api,app,secretanddefault. - Unique across IBEE, and never reused, even after a workspace is deleted.
Choose how many versions to keep
Each secret keeps its last N versions; when a save would exceed N, the oldest version is destroyed. N is the workspace default for every new secret: from 1 to 1,000, 10 if you don’t change it. The default can’t be changed after you enable Secret Manager, but each secret can set its own number later.
Every kept version is billed (₹3 per secret per month for the first, ₹3 per month for each older one), so a secret that keeps all 10 versions costs up to ₹30 a month. With fewer than 3 versions, one bad save can leave nothing to go back to. See Pricing.
Enable it in the portal
Choose the location
Under Location, keep or pick the location, for example Amaravati (VGA · AP, IN). “Your secrets are stored here. It can’t be changed later.”
Enter the namespace
Under Namespace, type the name. The portal lowercases it and checks it as you type:
Setup
The page shows Setting up Secret Manager with three steps: Name reserved, Creating your encrypted store and Ready for your first secret. “Usually a few seconds. You can leave this page; setup continues.” When it finishes, the page shows Secret Manager is ready, then No secrets yet with Create your first secret.
If Billing refuses before setup starts, Billing needs attention opens: “Billing did not allow Secret Manager for this organization. Add funds or resolve the billing issue, then turn it on again.” Click Add Credits, then enable again.
Enable it with the API
You need an API token with Secret Manager → Edit (secret-manager.write) and the workspace ID. Every Secret Manager call takes workspace_id as a query parameter.
Check the name (optional)
reason is invalid, reserved or taken when the name can’t be used. The check is advice only; the enable call decides.
Enable
Send an Idempotency-Key (8–128 characters: letters, digits, ., _, : and -). Retrying with the same key and body returns the same operation instead of starting a second one.
The answer is 202 with an operation:
max_versions is optional (1–1,000; 10 when left out). The API doesn’t take a location: it enables Secret Manager in the default location. To pick a location, use the portal.
Verify it worked
- Portal: the Secret Manager page shows Secrets | IBEE-managed | Connect tabs and Create secret.
- API:
GET /secret-manager/workspaceanswers"state": "active".
Turning it off
You can’t turn Secret Manager off yourself, and the namespace stays yours. Storage costs stop when you delete your secrets (or destroy their versions); an enabled workspace with no secrets costs nothing. To remove Secret Manager from a workspace, contact support. Removing it deletes every secret, version and app credential in that workspace permanently, and Secret Manager can’t be enabled in that workspace again.
Troubleshooting
API errors come back as JSON with error (the code) and message.
Related pages
- Concepts: namespaces, locations and versions
- Manage secrets in the portal
- Enable Secret Manager (API reference)
