[Feature] secret (variable) UI configuration #843

Closed
opened 2026-03-22 16:55:11 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @C0untZero on GitHub (Aug 29, 2024).

At the moment, secrets are only configurable through the core config file.
It would be nice if we could also do this through the UI.

A simple checkbox next to a variable marking it as secret or not would do the trick!

Originally created by @C0untZero on GitHub (Aug 29, 2024). At the moment, secrets are only configurable through the core config file. It would be nice if we could also do this through the UI. A simple checkbox next to a variable marking it as secret or not would do the trick!
GiteaMirror added the done label 2026-03-22 16:55:11 -05:00
Author
Owner

@mbecker20 commented on GitHub (Aug 29, 2024):

Good Idea. Will add this feature "mark Variable as secret", which will cause it to be hidden in UI / Logs, just as the Secrets defined in config file are.

@mbecker20 commented on GitHub (Aug 29, 2024): Good Idea. Will add this feature "mark Variable as secret", which will cause it to be hidden in UI / Logs, just as the Secrets defined in config file are.
Author
Owner

@C0untZero commented on GitHub (Sep 4, 2024):

Maybe the Value field in the UI should be obfuscated with asterisks when variable is marked as secret?

@C0untZero commented on GitHub (Sep 4, 2024): Maybe the Value field in the UI should be obfuscated with asterisks when variable is marked as secret?
Author
Owner

@mbecker20 commented on GitHub (Sep 4, 2024):

Good point. It should only be visible when opening the edit menu, although the API has no choice but to serve the plaintext secret for editing / management by admins. Also note, non-admin users already receive totally obfuscated secret from API, just ######## for the value.

@mbecker20 commented on GitHub (Sep 4, 2024): Good point. It should only be visible when opening the edit menu, although the API has no choice but to serve the plaintext secret for editing / management by admins. Also note, non-admin users already receive totally obfuscated secret from API, just `########` for the value.
Author
Owner

@mbecker20 commented on GitHub (Sep 4, 2024):

Added this obfuscation in this commit: https://github.com/mbecker20/komodo/commit/a0021d1785606ba7fc9136b8821c4e6bf18c13f7

Will be included in 1.14.0 stable.

@mbecker20 commented on GitHub (Sep 4, 2024): Added this obfuscation in this commit: [https://github.com/mbecker20/komodo/commit/a0021d1785606ba7fc9136b8821c4e6bf18c13f7](https://github.com/mbecker20/komodo/commit/a0021d1785606ba7fc9136b8821c4e6bf18c13f7) Will be included in 1.14.0 stable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#843