- User Guide >
- Hosts >
- Manage Hosts >
- Edit Authentication Credentials
Edit Authentication Credentials¶
On this page
If your MongoDB deployment enforces access control, the On-Prem MongoDB Management Service agents must authenticate to MongoDB as a user with the proper access.
Procedures¶
Edit Host Credential Information for Monitoring¶
Before editing these credentials, set up the agent as a user in MongoDB with appropriate access. See Configure Monitoring Agent for Access Control.
To edit authentication credential information:
1
Select the Deployment tab and then the Deployment page.¶
2
Select the host’s gear icon and select Edit Host.¶
3
Select the Credentials tab.¶
4
At the bottom of the dialog box, click the Change button.¶
5
Enter the credentials.¶
Edit the following information, as appropriate:
Auth Mechanism | The authentication mechanism used by the host. Can specify MONGODB-CR, LDAP (PLAIN), or Kerberos(GSSAPI). |
Current DB Username | If the authentication mechanism is MONGODB-CR or LDAP, the username used to authenticate the Monitoring Agent to the MongoDB deployment. See Add Monitoring Agent User for MONGODB-CR, Configure Monitoring Agent for LDAP, or Configure the Monitoring Agent for Kerberos for setting up user credentials. |
Current DB Password | If the authentication mechanism is MONGODB-CR or LDAP, the password used to authenticate the Monitoring Agent to the MongoDB deployment. See Add Monitoring Agent User for MONGODB-CR, Configure Monitoring Agent for LDAP, or Configure the Monitoring Agent for Kerberos for setting up user credentials. |
Update other hosts in replica set/sharded cluster as well | Only for cluster or replica set. If checked, apply the credentials to all other hosts in the cluster or replica set. |
6
Click the Submit button.¶
7
Close the dialog box.¶
Edit Host Credential Information for Backup¶
Before editing these credentials, set up the agent as a user in MongoDB with appropriate access. See Configure Backup Agent for Access Control.
To edit authentication credential information:
1
Select the Backup tab and then select Replica Set Status or Sharded Cluster Status.¶
2
On the line listing the cluster or replica set, click the gear icon.¶
3
Select Edit Credentials.¶
4
Enter the credentials.¶
Edit the following information, as appropriate:
Auth Mechanism | The authentication mechanism used by the host. Can specify MONGODB-CR, LDAP (PLAIN), or Kerberos(GSSAPI). |
Current DB Username | If the authentication mechanism is MONGODB-CR or LDAP, the username used to authenticate the Monitoring Agent to the MongoDB deployment. See Configure Backup Agent for MONGODB-CR, Configure Backup Agent for LDAP Authentication, or Configure the Backup Agent for Kerberos for setting up user credentials. |
Current DB Password | If the authentication mechanism is MONGODB-CR or LDAP, the password used to authenticate the Monitoring Agent to the MongoDB deployment. See Configure Backup Agent for MONGODB-CR, Configure Backup Agent for LDAP Authentication, or Configure the Backup Agent for Kerberos for setting up user credentials. |
My deployment supports SSL for MongoDB connections | If checked, the Monitoring Agent must have a trusted CA certificate in order to connect to the MongoDB instances. See Configure Monitoring Agent for SSL. |
5