Hello Victor,
I believe in modern changing paces, static passwords would be much deprecated approach. To answer your first question, cloning a existing RACF user(having same access) and then try rotating it would be more feasible without interrupting services. However, It still is time and resource consuming.
For future purposes, I believe Digital Certificates are better option. This is the industry-standard and most secure method for server-to-server authentication. The external application is issued a digital certificate. It presents this certificate when connecting to Db2. On the mainframe, Application Transparent TLS (AT-TLS) intercepts the connection and validates the certificate. RACF is configured to map that specific, trusted certificate to a mainframe user ID (e.g., APPUSER). The user ID itself is set to NOPASSWORD in RACF because authentication is handled by the certificate.
It is better because it completely removes the problem of password rotation, management, and exposure in config files. It is more secure as authentication is based on public-key cryptography, which is vastly more secure than a shared password. It is easily managed in the certificate's lifecycle. If it needs to be revoked, access is cut off instantly.
Warm regards,
Shashank Srivastava
Airbus
------------------------------
Shashank Srivastava
------------------------------