public char[] getKey() {
    return key;
  }
@return a char array containing the secret key for this credential
ambari-server/src/main/java/org/apache/ambari/server/security/credential/PrincipalKeyCredential.java