public static GenericKeyCredential fromValue(String value) throws InvalidCredentialValueException {
    return new GenericKeyCredential((value == null) ? null : value.toCharArray());
  }
Renders a new GenericKeyCredential from its value representation

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