Credentials Widget

Creates a credentials input widget for use in components views. Outputs a credentials flow variable with a given value.

The node supports custom CSS styling. You can simply put CSS rules into a single string and set it as a flow variable 'customCSS' in the node configuration dialog. You will find the list of available classes and their description on our documentation page.

Options

Label
A descriptive label that will be shown in the view.
Description
Some lines of description that will be shown in the view, for instance by means of a tooltip.
Variable Name
Variable identifier.
Parameter Name
Parameter identifier for external parameterization (e.g. batch execution).
Username
The username.
Password
The password.
Username label
A custom label which is displayed for the username input field. This enables the utilization of various login methods. Defaults to "User" if no label is provided.
Password label
A custom label which is displayed for the password input field. This enables the utilization of various login methods. Defaults to "Password" if no label is provided.
Prompt user name in widget view
Whether the username should be rendered as a separate field in the widget view. If unset the username field will not be shown and the output will always the pre-configured username.
Save password in configuration (weakly encrypted)
Whether the password should be saved with the workflow. Note that, if saved, the password can be revealed with modest effort by looking at the encryption algorithm used in KNIME's (open) source code. If the password is not saved (option not set) the user will be prompted for the password when the workflow is opened unless the node is already saved executed. In the latter case the password is not prompted assuming downstream consumer nodes, e.g. a DB reader, are also executed and no longer need the credentials. In such cases (resetting and) executing a downstream node will fail as the password is not part of the credentials object passed from this node into the workflow - a re-configuration of this node is required.
Use KNIME Server Login (when run on server)
If the node is executed as part of a job on the KNIME Server Web Portal the password is populated with the user credentials from the logged-in user. Please note that this option is not supported if your KNIME Server is configured to use single sign-on (SSO) via OAuth/OIDC.
Don't render input fields
When the server login and password are used it might be desirable to not display any input fields. When checking this option the component will not display, but user name and password are still retrieved from server login credentials.

Input Ports

This node has no input ports

Output Ports

Icon
Variable output (credentials) with the given variable defined.

Popular Successors

Views

Interactive View: Credentials Widget
Displays a credentials input field which represents the string value.

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.