Proceed with the outlined steps to acquire MongoDB credentials.
Database Access
under Security
+ ADD NEW DATABASE USER
button.Add new Database User
modal dialog, choose Password
for the Authentication Method
.Password Authentication
section, set the username to READ_ONLY_USER in the first text box and set a password in the second text box.Database User Privileges
, click on Select one built-in role for this user
under Built-in Role
and choose Only read any database
.Restrict Access to Specific Clusters/Federated Database instances
and enable only those clusters/database that you wish to replicate.Add User
at the bottom to save the user.