This questions comes from a DBA:
We have a db2 client instance ( on a stand along AIX ) box , which we use to run some ETL scripts which acess two tables in the remote database server . Let's say there is no data movements involved , we just want to run few SQL statements. When connecting to the remote database from this client instance , we have to provide a password as part of the connect ( CONNECT TO XXX USER YYYY USING zzzzzz) . Since we run a script , this password is in the plain view. This is a security issue. Is there a way in DB2 to connect from the client to the remote database without specifying a password .
So far my ( simple minded ) suggestions were :
1. Define a target instance with authentication client ( Security said no).
2. Replace local "client" instance with the local "server" instance .Create a database containing only federated links to the two tables on the remote server . This way , the scripts will connect to the "local" database without password requirement . ( ETL said no - extra work for them ) .
I think there should be a way ( perhaps some sort of client based DB2 security plug-in or some other method ) to accomplish this . Can you make a suggestion ?