private String[] getGetArgs(String alias, String providerPath) {
    List<String> args = new ArrayList<>();

    args.add(GET_VERB);
    args.add(alias);
    args.add("-provider");
    args.add(providerPath);

    return args.toArray(new String[args.size()]);
  }
Get arguments.

@param alias
@param providerPath
@return
ambari-server/src/test/java/org/apache/ambari/server/credentialapi/CredentialUtilTest.java