private int executeCommand(String[] args) throws Exception {
    return ToolRunner.run(new Configuration(), new CredentialUtil(), args);
  }
Executes the given arguments.

@param args
@return
@throws Exception
ambari-server/src/test/java/org/apache/ambari/server/credentialapi/CredentialUtilTest.java