public static void main(String[] args) throws Exception {
    int res = ToolRunner.run(new Configuration(), new CredentialUtil(), args);
    System.exit(res);
  }
Main program.

@param args Command line arguments
@throws Exception
ambari-server/src/main/java/org/apache/ambari/server/credentialapi/CredentialUtil.java