Package org.jclouds.cloudstack.util
Class ApiKeyPairs
- java.lang.Object
-
- org.jclouds.cloudstack.util.ApiKeyPairs
-
public class ApiKeyPairs extends Object
-
-
Constructor Summary
Constructors Constructor Description ApiKeyPairs()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApiKeyPair
loginToEndpointAsUsernameInDomainWithPasswordAndReturnApiKeyPair(URI endpoint, String username, String password, String domain)
Retrieve the API key pair for a given CloudStack user
-
-
-
Method Detail
-
loginToEndpointAsUsernameInDomainWithPasswordAndReturnApiKeyPair
public static ApiKeyPair loginToEndpointAsUsernameInDomainWithPasswordAndReturnApiKeyPair(URI endpoint, String username, String password, String domain)
Retrieve the API key pair for a given CloudStack user- Parameters:
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 ROOT- Returns:
-
-