Returns AWSStaticCredentialsProvider constructed using basic AWS keypair.
Returns AWSStaticCredentialsProvider constructed using basic AWS keypair.
AWS access key
AWS secret access key
Returns STSAssumeRoleSessionCredentialsProvider which assumes a role in order to authenticate against resources in an external account.
Returns STSAssumeRoleSessionCredentialsProvider which assumes a role in order to authenticate against resources in an external account.
arn of the role to be assumed
identifier for the assumed role session
external id used in the service call used to retrieve session credentials
credentials provider used to generate sessions in the assumed role