[GH-ISSUE #3879] [bug]: Secrets variable not persistent #1365

Closed
opened 2026-03-16 19:59:57 +03:00 by kerem · 2 comments
Owner

Originally created by @Leon-Luu on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3879

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

Originally created by @Leon-Luu on GitHub (Mar 7, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3879 ### Is there an existing issue for this? - [X] 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](https://github.com/hoppscotch/hoppscotch/assets/88329746/566d489c-8c25-4f0b-82ab-230bd4fb22d8) After login secrets values disappeared: ![image](https://github.com/hoppscotch/hoppscotch/assets/88329746/3f125796-7f0d-47fe-9e1d-8a5d797615a5) ### 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
kerem 2026-03-16 19:59:57 +03:00
Author
Owner

@thetronjohnson commented on GitHub (Mar 8, 2024):

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

<!-- gh-comment-id:1985023809 --> @thetronjohnson commented on GitHub (Mar 8, 2024): 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
Author
Owner

@Leon-Luu commented on GitHub (Mar 8, 2024):

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

<!-- gh-comment-id:1985154256 --> @Leon-Luu commented on GitHub (Mar 8, 2024): Hi Kiran, yes seems to be expected with populating the values of the variable at runtime and not sync. I'll close this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1365
No description provided.