public final class ProfileCredentialsUtils extends Object
credentialsProvider() configured in a profile.| Constructor and Description |
|---|
ProfileCredentialsUtils(Profile profile,
Function<String,Optional<Profile>> credentialsSourceResolver) |
| Modifier and Type | Method and Description |
|---|---|
Optional<AwsCredentialsProvider> |
credentialsProvider()
Retrieve the credentials provider for which this profile has been configured, if available.
|
public Optional<AwsCredentialsProvider> credentialsProvider()
AwsCredentialsProvider implements
SdkAutoCloseable and should be cleaned up to prevent resource leaks in the event that multiple credentials
providers will be created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.