Skip to main content
No Result Found

Manage Secrets

BrowserStack Low Code Automation enables you to securely store confidential data and use them while recording tests.

When you run tests on Low Code Automation, you may need to provide sensitive information, such as login credentials or credit card details. Low Code Automation lets you create Secrets to handle this securely.

Secrets are confidential data stored as a name and value pair. These are masked to protect your information. When you create a Secret, it gets encrypted and stored in the backend database. You can then use these secrets safely during test execution. It ensures your sensitive data remains protected.

Low Code Automation allows you to create, import, edit and delete secrets.

The Secrets feature in Low Code Automation is available only with BrowserStack Pro plans.

Create Secrets

Follow these steps to create secrets:

  1. Open Low Code Automation and click Secrets in the left pane. Screts Tab

  2. On the Secrets page, click + Create secret. Create Secrets

  3. On the Create secret dialog, enter a name and value for the secret. Ensure that the name is unique. Note that the value entered is always masked.

  4. Click Create. The secret will be successfully created.

Alternatively, you can create a new secret directly on the step page during test recording. You can do so by selecting Convert to secret from the dropdown menu. Convert to Secret

You can now import these secrets into your tests.

Import Secrets

Follow these steps to import secrets:

  1. In the Low Code Automation recorder, navigate to the step where you want to import the secret.
  2. Click the + icon under Entered value, then select Import a variable/secret. The Import variable/secret dialog will appear. Click Import

  3. Click the Secrets tab and select the desired secret. The secret will be successfully imported. Import Secret

  4. You can also import secrets in API steps. Click Call API under test steps. API Secret

  5. Click the + icon for any required elements, such as Key, Value, Username, or Password, and select Local variables. The Import variable/secret dialog will appear.
  6. Select the appropriate secret to import in the step.

View and manage Secrets

Follow these steps to view, edit and delete secrets:

  1. Open Low Code Automation and click Secrets in the left pane. The Secrets page will display a list of created secrets.

  2. Click the text in the USED IN column. It displays the tests and modules where each secret has been utilized. Secrets Used

  3. You can use the search bar to find secrets by name.
  4. Click the Ellipsis icon to access additional options.
    • Edit secret: Allows you to modify the value of the secret.
    • Delete secret: Allows you to delete the secret if it is not used in any test or module.

Edit Delete

  • Modifying a secret will impact any tests that utilize that secret.
  • Deleting a secret is permitted only if it is not referenced in any tests or modules.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle