@Override
  public int hashCode() {
    return ((principal == null) ? 0 : principal.hashCode()) +
        ((key == null) ? 0 : Arrays.hashCode(key));
  }
Returns a value representation of this PrincipalKeyCredential

@return a String containing the value representation of this PrincipalKeyCredential
ambari-server/src/main/java/org/apache/ambari/server/security/credential/PrincipalKeyCredential.java