> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Manage Secrets in the Secrets Manager

## Article: Manage Secrets in the Secrets Manager

## Article Link: https://dev.wix.com/docs/studio-two/code-your-site/developer-environment/secrets/manage-secrets-in-the-secrets-manager.md

## Article Content:

# Manage Secrets in the Secrets Manager

The [Secrets Manager](https://dev.wix.com/docs/studio-two/code-your-site/developer-environment/secrets/about-the-secrets-manager.md) lets you access and manage secrets securely for use in your site's code.

## Step 1 | Access the Secrets Manager

You can access the Secrets Manager from your site's Wix dashboard or from the Studio Two editor.

**From the Wix dashboard:**
1. In the dashboard left sidebar, navigate to **Developer Tools**.
2. Click **Secrets Manager**.

**From the Studio Two editor:**

> **Note:** Changes in the Secrets Manager are applied immediately and don't require publishing the site.

## Step 2 | Manage your secrets

Use the Secrets Manager to add, edit, and delete secrets.

<details>
<summary id='add-a-secret' style="font-size:1.17em; font-weight:bold;">Add a secret</summary>

To add a secret:

1. At the top right of the Secrets Manager, click **Add Secret**.
2. In the **Add secret** panel, fill in the [secret fields](https://dev.wix.com/docs/studio-two/code-your-site/developer-environment/secrets/about-the-secrets-manager.md#secret-fields).
3. Click **Add Secret**.

The secret is saved. The name and description are displayed, and the secret value is hidden.

</details>

<details>
<summary style="font-size:1.17em; font-weight:bold;">Edit a secret</summary>

To edit a secret:

<blockquote class="warning">
  <strong>Warning:</strong> Changing a secret's name or value breaks all code that uses the secret.
</blockquote>

1. For the secret you want to edit, select **Edit** in the secret's **More Actions** menu. The **Edit secret** panel appears.
2. To change the **Name** or **Description**, click the field and edit the text. To change the value, click **Retrieve value**, then click inside the **Value** field that appears.
3. Click **Change Secret**.

</details>

<details>
<summary style="font-size:1.17em; font-weight:bold;">Delete a secret</summary>

To delete a secret:

<blockquote class="warning">
  <strong>Warning:</strong>
  <ul>
    <li>Deleting a secret breaks all code that uses it.</li>
    <li>You can't restore a deleted secret.</li>
  </ul>
</blockquote>

1. For the secret you want to delete, select **Delete secret** in the secret's **More Actions** menu. The **Delete secret?** dialog appears.
2. Click **Delete Secret** to confirm.

</details>

## See also

- [About the Secrets Manager](https://dev.wix.com/docs/studio-two/code-your-site/developer-environment/secrets/about-the-secrets-manager.md)
- [Wix Secrets API](https://dev.wix.com/docs/sdk/backend-modules/secrets/introduction.md)