-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set Env-vars to be hidden after creation #4835
Comments
First iteration:
Second Iteration:
|
Care point - exporting of snapshots can include the env var values. Consider an option to include/exclude secrets? |
I think that would complement this feature nicely |
Had a discussion with @Steve-Mcl. The first iteration is pretty straightforward, but hidden environment variables will still be accessible to the Node-RED instance and snapshots. If we’re focusing solely on hosted instances, encryption would be the appropriate approach for handling hidden environment variables. However, this wouldn’t work for remote instances since encrypted variables would need to be decrypted and re-encrypted each time credentials are regenerated via the device agent configuration. Additionally, the device agent would require some adjustments to accommodate this. Steve suggested aligning the approach with how Node-RED handles credentials, and I tend to agree. |
To be clear, I stated Node-RED has a mechanism for credentials - if desired (possible?), we might wish to utilise those since they remain encrypted on file. The other points discussed were that snapshots (currently) store the env vars as Key/Value pairs & it is not currently possible to identify them as being "protected" thus not able to prevent them being downloaded from the snapshot download UI to reveal the env vars set as secret. Changing these would require the whole mechanism of snapshots (API, launcher, device agent) to have awareness of the enhanced format. |
Thank you for clearing that out! |
Description
Can an env-var be set to be 'secret' so that once the string is submitted it can't be extracted from the FF UI?
This was requested by the following customer - https://app-eu1.hubspot.com/contacts/26586079/record/0-1/24993051
Which customers would this be available to
Enterprise Tier Only (EE)
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: