hoppscotch / hoppscotch

Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)

Home Page:https://hoppscotch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: Secrets variable not persistent

Leon-Luu opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When created a Secret variables and saved. After logout and login from the Hoppscotch the secrets are lost. Show secret is not showing any values anymore.
This is easy to reproduce with incognito modes or changing browsers.
The same issue happens on the secrets within the local workspaces and the Team environment secrets.

image

After login secrets values disappeared:
image

Steps to reproduce

  1. create Sercret variables with values and save
  2. Logout and login ( incognito mode or change to another browser)
  3. Check the secret values again

Environment

Production

Version

Cloud

Hi @Leon-Luu, This is the expected behavior for secret variables. Because secrets variables can be used to store sensitive information such as passwords or other credentials, the secret variable values are never synced with Hoppscotch.

https://docs.hoppscotch.io/documentation/features/environments#types-of-variables-in-an-environment

Hi Kiran, yes seems to be expected with populating the values of the variable at runtime and not sync. I'll close this issue.