public interface AccountCredentialsProvider
Optional with AWS credentials for the given accountId or an empty Optional in
case the provider can't provide the credentials.| Modifier and Type | Method and Description |
|---|---|
Optional<software.amazon.awssdk.auth.credentials.AwsCredentials> |
get(String accountId)
Returns AWS credentials for the given
accountId. |
Optional<software.amazon.awssdk.auth.credentials.AwsCredentials> get(String accountId)
accountId.accountId - an AWS account for which the credentials will be providedOptional with AWS credentials or Optional.empty() in case the provider is not able to
provide credentials for the account.Copyright © 2022. All rights reserved.