if (paramaters.get("proxy.port") != null)
beesClientConfiguration.setProxyPort(Integer.parseInt(paramaters.get("proxy.port")));
beesClientConfiguration.setProxyUser(paramaters.get("proxy.user"));
beesClientConfiguration.setProxyPassword(paramaters.get("proxy.password"));
BeesAPIClient staxClient = new BeesAPIClient(beesClientConfiguration);
staxClient.setVerbose(verbose.isVerbose());
AccountKeysResponse response = staxClient.accountKeys(domain, email, password);
key = response.getKey();
secret = response.getSecret();
// Get the default account name
beesClientConfiguration.setApiKey(key);
beesClientConfiguration.setSecret(secret);
staxClient = new BeesAPIClient(beesClientConfiguration);
staxClient.setVerbose(verbose.isVerbose());
AccountListResponse listResponse = staxClient.accountList();
List<AccountInfo> accounts = listResponse.getAccounts();
if (accounts.size() == 1) {
domain = accounts.get(0).getName();
} else {
String accountsString = null;