Example usage for Java com.amazonaws.auth.profile ProfilesConfigFile fields, constructors, methods, implement or subclass
The text is from its open source code.
ProfilesConfigFile(String filePath) Loads the AWS credential profiles from the file. | |
ProfilesConfigFile(File file) Loads the AWS credential profiles from the file. | |
ProfilesConfigFile() Loads the AWS credential profiles file from the default location (~/.aws/credentials) or from an alternate location if AWS_CREDENTIAL_PROFILES_FILE is set. |
Map | getAllProfiles() |
AWSCredentials | getCredentials(String profileName) Returns the AWS credentials for the specified profile. |