public ResolvedKerberosKeytab getKeytabByFile(String file, boolean resolvePrincipals) {
    return fromKeytabEntity(kerberosKeytabDAO.find(file), resolvePrincipals, false);
  }
Tries to find keytab by keytab path in destination filesystem.

@param file keytab path
@param resolvePrincipals include resolved principals
@return found keytab or null
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/stageutils/KerberosKeytabController.java