public final class ProfileFileLocations extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<Path> |
configurationFileLocation()
Load the location for the configuration file, usually ~/.aws/config unless it's overridden using an environment variable
or system property.
|
static Optional<Path> |
credentialsFileLocation()
Load the location for the credentials file, usually ~/.aws/credentials unless it's overridden using an environment variable
or system property.
|
static String |
userHomeDirectory()
Load the home directory that should be used for the profile file.
|
public static Optional<Path> configurationFileLocation()
public static Optional<Path> credentialsFileLocation()
public static String userHomeDirectory()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.