Use hide_maintuser_pwd to configure password protection for the maintenance user and restrict maintenance user access to Replication Server.
create connection to data_server.database
set error class [to] error_class
set function string class [to] function_class
set username [to] user
[set password [to] passwd]
set hide_maintuser_pwd to ‘{on | off}’
...
go
alter connection to data_server.database
set hide_maintuser_pwd to ‘{on | off}’
go
configure replication server
set hide_maintuser_pwd to ‘{on | off}’
go
The default is off.
If multiple connections to the same or a different database controlled by Replication Server share the same maintenance user, Replication Server alters the maintenance user password for all the connections if you set hide_maintuser_pwd on.