Monitor MongoDB Using Kerberos Authentication
Before configuring, ensure you have the Java Authentication and Authorization Service (JAAS) configuration file.
Sample JAAS file
com.sun.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required
principal="admin-username/ip-192.0.2.0.us-west-2.compute.internal@US-WEST-2.COMPUTE.INTERNAL"
doNotPrompt=true
useTicketCache=true
debug=true;
};