> 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.

# Manage secrets in the portal

> 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.

The portal is where people create and change secrets. Open a workspace, then **Tools → Secret Manager**. The page has three tabs: **Secrets** (your store, `secret/`), **IBEE-managed** (read only) and **Connect** (how clients sign in). Every portal action that touches a secret is billed like the same CLI command; the table at the end lists them.

## Before you begin

* Secret Manager is [enabled](/docs/tools/secret-manager/enable) in the workspace.
* **To view secrets and their values:** any role with access to the workspace (Owner, Admin, Technical or Collaborator).
* **To create, change or delete:** the Owner, an Admin or a Technical member, and your organization's [identity verification](/docs/getting-started/account-setup/verify-your-identity) is complete.

## Browse and search

The **Secrets** tab lists folders and secrets, starting at `secret`. Click a folder to open it; the breadcrumb takes you back. Columns:

| Column       | Shows                                                                                                            |
| ------------ | ---------------------------------------------------------------------------------------------------------------- |
| **Name**     | The folder or secret name                                                                                        |
| **Versions** | Versions kept of the most allowed, for example `3 of 10`. **Value not saved** means the secret has no value yet. |
| **Updated**  | When the secret last changed                                                                                     |

The list shows when it was read ("Listed …"); click **Refresh list** to read it again. Each listing is one billed operation, so the portal doesn't refresh on its own.

To find a secret, type part of its name or path in **Search by name or path** and click **Search**. New secrets can take a minute to appear in search results; folders always show the latest.

## Create a secret

### Start a secret

Click **Create secret**.

### Name it

In **Name**, enter the path, for example `payments/db`. "Use / for folders. The name can't be changed later." Don't start with an environment such as `prod/`: the workspace is the environment.

### Add the values

Under **Key/value pairs**, enter a key such as `username` and its value, then click **Add value** for each further pair. To paste many at once, paste several `NAME=value` lines into a **Key** box. Values are hidden; click **Show values** to see them.

### Choose the versions to keep (optional)

Under **Version history**, the secret keeps the workspace default. Click **Change** to set **Versions to keep** for this secret (1–1,000).

### Create it

Click **Create Secret**. The toast **Secret created** appears.

### Edit many values at once

Click **Bulk edit**. Choose **.env** (`NAME=value` lines) or **JSON** (an object such as `{"password": "…"}`), edit the text and click **Apply**. "Every value is shown here as plain text. Apply replaces the rows." Lines that aren't `NAME=value` are skipped and counted.

## View a secret's values

Click the secret. It opens on **Overview**, which shows the type, current version, versions kept, when it was created and last changed, and who keeps it.

Values stay hidden until you load them: click **Load values**. "Loading counts as one read." Each value is masked, with buttons to show and copy it. Click **Hide values** when you're done.

To see an older version, open **Versions** and click **View** on its row. The value is shown only in that window.

## Save a new version

Click **New version**. The sheet **Save a new version** opens with the current values; it "replaces vN. The previous version is kept and you can roll back to it." Change the values and click **Save version**. The toast reads **Saved as version N**.

If someone else saved while you were editing, the portal shows **Someone else saved a newer version** and saves nothing. Click **Load latest**, then make your change again. This is [check-and-set](/docs/tools/secret-manager/concepts#check-and-set) at work.

Apps get the new value on their next read.

## Roll back to an earlier version

### Open the versions

On the secret, open the **Versions** tab. Each row shows the version, when it was created, and its status: **Active**, **Deleted** or **Destroyed**.

### Pick the version

On an active version that isn't the latest, click **Roll back to this version**.

### Confirm

The dialog **Roll back to version N** says it "Saves vN's values as a new version". Click **Roll back**. The toast reads "Rolled back: saved vN as vM".

Rolling back never deletes anything: the old values become the new latest version, and the versions in between are kept. It costs two operations (one read, one write). To roll back to a deleted version, **Undelete** it first.

## Delete, undelete and destroy versions

On the **Versions** tab:

| Button             | What it does                                                                                                                                                                         |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Delete version** | Hides the version. Reads of it fail. "You can still undelete it."                                                                                                                    |
| **Undelete**       | Makes a deleted version readable again                                                                                                                                               |
| **Destroy**        | Erases the version's value permanently. Confirm in **Destroy version N**: "The value of this version is erased permanently and cannot be restored. Other versions are not affected." |

"A deleted version can be undeleted and is still billed … until it is destroyed. Destroying is permanent." If you destroy the latest version, the dialog warns "Apps reading this secret will fail until you save a new version."

## Change a secret's settings

Open the **Settings** tab, under **Retention and safety**:

| Setting                   | What it does                                                                                                                                                        |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Versions to keep**      | How many versions this secret keeps. Leave it empty for the workspace default. "Older versions beyond this number are destroyed at the next save of a new version." |
| **Display name**          | A friendlier name shown in search. "Not secret; do not put values here."                                                                                            |
| **Require check-and-set** | Writes from any client must say which version they replace (CAS). Protects against overwrites from scripts.                                                         |
| **Hide versions after**   | **Never**, **30 days** or **90 days**: versions older than that are deleted automatically. Deleted versions are still stored and billed.                            |

Click **Save settings**. The toast reads **Settings saved**.

## Delete a secret

> **Warning**
>
> Deleting a secret removes it, every version and its settings permanently. Apps reading it start to fail. Copy any value you still need first.

### Start the delete

Open the secret, click **More actions**, then **Delete secret and all versions**. (Or, on **Settings**, under **Delete this secret**, click **Delete secret**.)

### Confirm

In **Delete secret**, type the secret's name and confirm. The toast says the secret and all its versions were deleted.

## Use a secret in an app

The secret's **Use in apps** tab shows ready-to-copy code for that exact path: the CLI, Python (`hvac`), Node.js and a Kubernetes `ExternalSecret`. Tokens come from `VAULT_TOKEN`; the snippets never contain a value. See [Read secrets from your app](/docs/tools/secret-manager/connect-apps).

## IBEE-managed secrets

The **IBEE-managed** tab lists `ibee-managed/`: credentials an IBEE product creates for your workspace. "Read-only. Only the IBEE product that created a secret can change it." You can view and load values, and apps can read them, but no one can change them. It shows **No IBEE-managed secrets yet** until a product uses it.

## What each portal action costs

| Portal action                                                                          | Billed operations |
| -------------------------------------------------------------------------------------- | ----------------- |
| Create a secret, or save a new version                                                 | 1                 |
| Change settings (versions to keep, display name, check-and-set, hide versions after)   | 1                 |
| Load values, view an old version, open a folder, open the versions or metadata, search | 1 each            |
| Roll back                                                                              | 2 (read + write)  |
| Delete, undelete or destroy a version; delete a secret                                 | 1 each            |
| Enable, setup status, Connect, getting a CLI session                                   | 0                 |

Operations cost ₹4 per 10,000. See [Pricing](/docs/tools/secret-manager/pricing).

## Troubleshooting

| You see                                                                                                         | What it means                                                    | What to do                                                                                  |
| --------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| "A secret with this name already exists. Choose another name, or open it and save a new version."               | The path is taken                                                | Use another name, or open the existing secret                                               |
| "Leave out the environment: the workspace already is the environment"                                           | The name starts with `prod`, `dev`, `staging`, `test` or similar | Remove that first folder                                                                    |
| "This secret is larger than 48 KiB. Store large files in Object Storage and keep only the access details here." | The values are too large                                         | Split the secret, or keep the file in [Object Storage](/docs/infrastructure/object-storage) |
| **Someone else saved a newer version**                                                                          | Another save happened first                                      | Click **Load latest** and try again                                                         |
| "Values cannot be read while this workspace is suspended."                                                      | The workspace is suspended                                       | See [Workspace states](/docs/tools/secret-manager/concepts#workspace-states)                |
| A **Read-only** chip in the header                                                                              | The workspace is restricted                                      | You can read and clean up, not save                                                         |
| `verification_required` when saving                                                                             | Identity verification isn't complete                             | Complete [verification](/docs/getting-started/account-setup/verify-your-identity)           |
| A new secret doesn't appear in search                                                                           | Search catches up within a minute                                | Browse its folder instead                                                                   |

## Related pages

* [Concepts](/docs/tools/secret-manager/concepts): versions, check-and-set, delete versus destroy
* [App credentials](/docs/tools/secret-manager/app-credentials)
* [Access and security](/docs/tools/secret-manager/access-and-security)