Skip to content
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

Use securekey-textarea widget for SA json fields #1408

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

GnsP
Copy link
Contributor

@GnsP GnsP commented May 13, 2024

Changes the widget type for SA json fields from textbox to secure-textarea

Please notice the shield icon in the SA json field. Clicking the shield lets the user select one of the secure keys defined in the namespace.

A corresponding PR in cdap-ui adds the securekeys tab in Namespace Admin and also makes the securekey-textarea widget non-editable (so that the user will only be able to add the value as a secure macro).

Screenshot 2024-05-13 at 10 21 28 AM

@GnsP GnsP added the build Trigger unit test build label May 13, 2024
@GnsP GnsP force-pushed the enforce-securekey-for-auth-fields-ui branch from c9f18a3 to 6056874 Compare May 13, 2024 04:31
@GnsP GnsP requested review from samdgupi and itsankit-google May 13, 2024 04:48
Copy link
Member

@itsankit-google itsankit-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add the screenshot in the PR description on how the change was tested?

@GnsP
Copy link
Contributor Author

GnsP commented May 13, 2024

Can you please add the screenshot in the PR description on how the change was tested?

Added a screenshot.

@itsankit-google
Copy link
Member

Can you please add the screenshot in the PR description on how the change was tested?

Added a screenshot.

What will be the case for existing pipelines? How will the UI look like? Have we tested it? Also since it has been using textarea from sometime now, do we have a PM approval?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Trigger unit test build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants