Amazon S3 Access Grants now integrate with open source Python frameworks

Posted on: Jul 1, 2024

Amazon S3 Access Grants now integrate with open source Python frameworks using the AWS SDK for Python (Boto3) plugin. S3 Access Grants help you to map identities in Identity Providers (IdPs) such as Active Directory, or AWS Identity and Access Management (IAM) principals, to your datasets in S3. Importing the Boto3 plugin to your client replaces any custom code required to manage data permissions, so you can use S3 Access Grants in open source Python frameworks such as Django, TensorFlow, NumPy, Pandas, and more.

Get started with S3 Access Grants using the AWS SDK for Python by importing the Boto3 plugin as a module in your Python code. The Boto3 plugin now has the ability to automatically request, cache, and refresh temporary credentials issued by S3, based on an Access Grant. As a result, the permissions for your Python-based S3 clients will be determined based on user group membership in an IdP.

Amazon S3 Access Grants are available in all AWS Regions where AWS IAM Identity Center is available. To learn more about the Boto3 plugin, visit the GitHub repository. For pricing details, visit Amazon S3 pricing. To learn more, refer to the documentation.