polars.CredentialProviderAWS#
- class polars.CredentialProviderAWS( )[source]#
AWS Credential Provider.
Using this requires the
boto3
Python package to be installed.Warning
This functionality is considered unstable. It may be changed at any point without it being considered a breaking change.
- __init__( ) None [source]#
Initialize a credential provider for AWS.
- Parameters:
- profile_namestr
Profile name to use from credentials file.
- assume_roleAWSAssumeRoleKWArgs | None
Configure a role to assume. These are passed as kwarg parameters to [STS.client.assume_role()](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sts/client/assume_role.html#STS.Client.assume_role)
Methods
__init__
(*[, profile_name, assume_role])Initialize a credential provider for AWS.