public class ApiKeyPairs extends Object
Constructor and Description |
---|
ApiKeyPairs() |
Modifier and Type | Method and Description |
---|---|
static ApiKeyPair |
loginToEndpointAsUsernameInDomainWithPasswordAndReturnApiKeyPair(URI endpoint,
String username,
String password,
String domain)
Retrieve the API key pair for a given CloudStack user
|
public static ApiKeyPair loginToEndpointAsUsernameInDomainWithPasswordAndReturnApiKeyPair(URI endpoint, String username, String password, String domain)
endpoint
- CloudStack API endpoint (e.g. http://72.52.126.25/client/api/)username
- User account namepassword
- User passworddomain
- Domain name. If empty defaults to ROOTNoSuchElementException,
- AuthorizationExceptionCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.