[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.
After login secrets values disappeared:
Steps to reproduce
- create Sercret variables with values and save
- Logout and login ( incognito mode or change to another browser)
- 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.