Use the SAP Secure User Store for non-ASE and non-IQ connectors, like ExpressConnect for HANA DB.
To support SAP Secure User Store logins, use the dsi_connector_sec_mech parameter with the create connection or alter connection commands. No interfaces file entry is required for the connection to the HANA DB instance when you use an SAP Secure User Store login.
The dsi_connector_sec_mech parameter is not a network-based security parameter. It is valid only for connections.
hdbuserstore set hanads myhost:30215 myuser mYpA5Sw0rDwhere "hanads" is a label used as the key for querying the secure user store, "myhost:30215" is the connection environment host name and port number, "myuser" is the user ID, and "mYpA5Sw0rD" is the password.
Once you have created a secure user store, you can create a connection to the HANA DB instance with the encrypted credentials. For example, to connect to the HANA DB instance for ASE-to-HANA DB replication:
create connection to hanads.hanadb using profile rs_ase_to_hanadb;ech set username "foo" set password "bar" set dsi_connector_sec_mech to "hdbuserstore" go
You can alter an existing connection to a HANA DB instance to use dsi_connector_sec_mech. For example:
alter connection to hanads.hanadb set dsi_connector_sec_mech to "hdbuserstore" go
After running the alter connection command, you must suspend and resume the connection:
suspend connection to hanads.hanadb go resume connection to hanads.hanadb go