For a secure network connection, you can store the CMS encrypted database password in a stash file.
<ihsinst>/bin/gsk7cmd -keydb -create -db <path_to_db>/<db_name> -pw <password> -type cms -expire <days> -stash
<ihsinst>/bin/gsk7cmd -keydb -stashpw -db <db_name> -pw <password>