Open
Description
openedon Sep 11, 2024
The problem
- Users need to securely view and source sensitive values (e.g., API keys) in the UI.
- Sensitive values should be obfuscated by default to prevent accidental exposure.
- Users should have the option to unobfuscate (reveal) values when necessary.
- Users should be able to easily copy the sensitive value without revealing it.
Currently our team (IBM Cloud Observability) uses the PasswordInput in read only mode. However, when the value is obfuscated, the ability to copy the key is disabled. This forces users to reveal the value before copying.
Which is not an obvious simple workflow.
The solution
Expand the CodeSnippet or PasswordInput components to cater to this use case.
PasswordInput - add showCopyButton option
CodeSnippet - add obfuscation option
Examples
https://www.figma.com/design/WwPzxED6b1jP4Iju2oo7kK/Copy-obfuscated-values?node-id=1-64723&t=XAkcI1TzSzG7N7pN-4
Application/PAL
IBM Cloud
Business priority
Medium Priority = upcoming release but is not pressing
Available extra resources
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
This request has gone through triaging. We're determining whether we take this on or not.This request has gone through triaging. We're determining whether we take this on or not.
Type
Projects
Status
Triage