Registry / devops / aws-s3-access-grants-boto3-plugin

aws-s3-access-grants-boto3-plugin

JSON →
library1.3.0pypypiunverified

AWS S3 Access Grants plugin for boto3 enables S3 customers to use S3 Access Grants as a permission layer on top of S3 clients, providing enhanced access control. Current version: 1.3.0. Release cadence: irregular, major version updates with AWS SDK changes.

pip install aws-s3-access-grants-boto3-plugin
INSTALL
IMPORT
SIG · AWS-S3-ACCESS-GRAN
A
aws-s3-access-grants-boto3-plugin
devopspythonv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

S3AccessGrantsPlugin
from aws_s3_access_grants_boto3_plugin import S3AccessGrantsPlugin
from s3_access_grants_plugin import S3AccessGrantsPlugin

Instantiate the S3AccessGrantsPlugin and apply it to a boto3 S3 client to enforce access grants permissions.

import boto3 from s3_access_grants_plugin import S3AccessGrantsPlugin session = boto3.Session() s3 = session.client('s3') plugin = S3AccessGrantsPlugin() # Apply plugin to enable access grants plugin.register_client(s3) # Now s3 requests use access grants response = s3.get_object(Bucket='my-bucket', Key='my-key') print(response['Body'].read())
Debug
Known issues
breakingVersion 1.2.0 changed the required boto3 minimum version to 1.28.0. Older boto3 versions will cause import errors.
fix
Upgrade boto3: pip install --upgrade boto3>=1.28.0
affects: >=1.2.0
deprecatedThe method 'register_client' is deprecated in favor of 'apply' in version 1.3.0.
fix
Use plugin.apply(s3) instead of plugin.register_client(s3)
affects: 1.3.0
gotchaThe plugin requires the 's3:GetAccessGrantInstance' permission to work. Missing IAM permissions will cause silent permission errors.
fix
Add the required IAM actions: s3:GetAccessGrantInstance, s3:GetAccessGrantsInstanceForPrefix, etc.
affects: all
Upgrade
Version history
1.3.0latest on PyPI · released Jul 25, 2025
Audit
Dependencies
boto3requiredThe plugin extends boto3 S3 client with access grants support (>=1.28.0)
aws-crtoptionalUsed for HTTP operations and authentication (>=0.19.0)
Agent activity
46 hits · last 30 days
node
40
Resources
aws-s3-access-grants-boto3-plugin — pip install aws-s3-access-grants-boto3-plugin · libregistry