Manage Secrets in the Secrets Manager

The Secrets Manager allows you to access and manage secrets securely, and use them in your site's code.

Step 1 | Access the Secrets Manager

There are multiple ways to access the Secrets Manager, depending on which interface you are using.

From Wix Studio or Wix Editor:

  1. Navigate to Developer Tools in the code panel.
  2. Click on Secrets Manager in the Security section.

From the dashboard:

  1. Navigate to Developer Tools in the dashboard menu.
  2. Click on Secrets Manager.

Step 2 | Manage your secrets

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

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

Add a secret

To add a secret:

  1. At the top right of the Secrets Manager, click Add Secret.

  2. In the Add secret modal, fill in the fields.

  3. Click Add Secret.
    The secret is added and stored in the Secrets Manager. The name and description are displayed, and the secret value is hidden.

Edit a secret

To edit a secret:

Warning: Changing a secret's name or value breaks all code that implements the secret.
  1. For the secret you want to edit, select Edit in the secret's More Actions menu. The Edit secret modal appears.

    • To change the secret's Name or Description, click the fields to edit the text.
    • To change the secret's value, click Retrieve value, then click inside the secret's Value field that appears.
  2. Click Change Secret.

Delete a secret

To delete a secret:

Warning:
  • Deleting a secret breaks all code that implements the secret.
  • You cannot restore a deleted secret.
  1. For the secret you want to delete, select Delete secret in the secret's More Actions menu. The Delete secret? modal appears.
  2. Click Delete Secret to confirm.
    The secret is removed from the Secrets Manager.

See also

Was this helpful?
Yes
No