public class ProfileProcessCredentialsProvider extends Object implements AWSCredentialsProvider
ProcessCredentialsProvider
, implementing the credential_process profile setting.Constructor and Description |
---|
ProfileProcessCredentialsProvider(BasicProfile profile) |
Modifier and Type | Method and Description |
---|---|
AWSCredentials |
getCredentials()
Returns AWSCredentials which the caller can use to authorize an AWS request.
|
void |
refresh()
Forces this credentials provider to refresh its credentials.
|
public ProfileProcessCredentialsProvider(BasicProfile profile)
public AWSCredentials getCredentials()
AWSCredentialsProvider
getCredentials
in interface AWSCredentialsProvider
public void refresh()
AWSCredentialsProvider
refresh
in interface AWSCredentialsProvider
Copyright © 2023. All rights reserved.