Package software.amazon.awssdk.profiles
Class ProfileFileLocation
java.lang.Object
software.amazon.awssdk.profiles.ProfileFileLocation
A collection of static methods for loading the location for configuration and credentials files.
-
Method Summary
Modifier and TypeMethodDescriptionLoad the location for the configuration file, usually ~/.aws/config unless it's overridden using an environment variable or system property.static Path
Resolve the path for the configuration file, regardless of whether it exists or not.Load the location for the credentials file, usually ~/.aws/credentials unless it's overridden using an environment variable or system property.static Path
Resolve the location for the credentials file, regardless of whether it exists or not.
-
Method Details
-
configurationFilePath
Resolve the path for the configuration file, regardless of whether it exists or not.- See Also:
-
credentialsFilePath
Resolve the location for the credentials file, regardless of whether it exists or not.- See Also:
-
configurationFileLocation
Load the location for the configuration file, usually ~/.aws/config unless it's overridden using an environment variable or system property. -
credentialsFileLocation
Load the location for the credentials file, usually ~/.aws/credentials unless it's overridden using an environment variable or system property.
-