aws-s3-access-grants-boto3-plugin
AWS S3 Access Grants plugin provides the functionality to enable S3 customers to configure S3 Access Grants as a permission layer on top of the S3 Clients.
What it is and what it does
This is an official AWS plugin for boto3 that layers S3 Access Grants—a fine-grained permission system—on top of your S3 client. Instead of relying solely on IAM credentials, it allows you to configure and enforce granular access policies directly through S3 Access Grants, which the plugin retrieves and applies transparently when you make S3 API calls.
The plugin registers with your boto3 S3 client and intercepts requests to fetch temporary credentials from Access Grants. It supports a fallback mode that reverts to your original credentials if Access Grants cannot provide them (either because the operation is unsupported or for other reasons). It also handles special cases like copy_object and delete_objects by finding the common ancestor of object keys and using grants on that prefix.
Use it for:
- Enforce fine-grained S3 bucket access policies across teams without managing separate IAM roles for each permission level.
- Implement time-limited or scope-limited access to S3 data by configuring Access Grants grants and letting the plugin handle credential retrieval.
- Migrate existing S3 applications to use Access Grants without rewriting authentication logic—register the plugin and let it intercept calls.
- Provide temporary, delegated access to S3 buckets for third-party integrations or cross-account scenarios via Access Grants credentials.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A boto3 plugin that integrates AWS S3 Access Grants as a permission layer for S3 clients, enabling fine-grained access control through S3 Access Grants credentials.
Yes, if you are already using S3 Access Grants in your AWS environment and need boto3 integration. The plugin is low-friction to install and is maintained by AWS. However, the 385-day gap since the last release and unclear license metadata warrant verification before production deployment. Not necessary if you manage S3 permissions through IAM alone.
Install
aws-s3-access-grants-boto3-plugin on PyPI
pip
pip install aws-s3-access-grants-boto3-pluginuv
uv add aws-s3-access-grants-boto3-pluginpoetry
poetry add aws-s3-access-grants-boto3-pluginInstalling aws-s3-access-grants-boto3-plugin
Before you install
Low install friction with only two runtime dependencies (botocore and cacheout). The package is aging—last release was 385 days ago—but the repository remains active and not archived, suggesting ongoing maintenance by AWS.
License in practice
License treatment is unclear; the description states Apache-2.0 but the metadata fields are null. Verify the actual license terms before use in proprietary or restricted contexts.
Quickstart
pip install aws-s3-access-grants-boto3-plugin
import botocore.session
from aws_s3_access_grants_boto3_plugin.s3_access_grants_plugin import S3AccessGrantsPlugin
session = botocore.session.get_session()
s3_client = session.create_client('s3')
plugin = S3AccessGrantsPlugin(s3_client, fallback_enabled=True, customer_session=session)
plugin.register()
Requires Python 3.9 or later; botocore must be installed and configured with valid AWS credentials.
Verify before relying
- Whether the Apache-2.0 license claim in the description is authoritative given null metadata fields.
- Current compatibility with the latest botocore versions and any breaking changes since the last release 385 days ago.
- Whether the fallback behavior and copy_object/delete_objects workarounds remain reliable in production S3 environments.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — botocore, cacheout |
| Maintenance | aging — 385 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 81,372/month — #14,232 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_s3_access_grants_boto3_plugin-1.3.0-py3-none-any.whl
Tags
More Security packages
Provides Python bindings to the FreeDesktop.org…
permissive · top 1,000 on PyPI
msalMSAL for Python handles OAuth2 and OpenID…
permissive · top 1,000 on PyPI
joserfcjoserfc implements JOSE standards (JWS, JWE,…
permissive · top 1,000 on PyPI
AuthlibAuthlib provides a complete implementation of…
permissive · top 1,000 on PyPI
argon2-cffi-bindingsProvides low-level CFFI bindings to the…
permissive · top 1,000 on PyPI
adalADAL for Python authenticates applications with…
permissive · top 1,000 on PyPI
boto3Boto3 is the official AWS SDK for Python,…
permissive · top 100 on PyPI
openfga-sdkPython SDK for OpenFGA that wraps the OpenFGA…
permissive · top 5,000 on PyPI
botocoreBotocore provides low-level, data-driven access…
permissive · top 100 on PyPI
botoBoto is a Python interface to Amazon Web…
permissive · top 5,000 on PyPI
s3transfers3transfer manages concurrent uploads and…
permissive · top 100 on PyPI
amazon-sns-extended-clientExtends boto3's SNS client to publish messages…
permissive · top 15,000 on PyPI
s3pathS3Path provides a pathlib-like interface for…
permissive · top 5,000 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
boto_session_managerWraps boto3 sessions with typed client…
permissive · top 5,000 on PyPI
tentaclio-s3Provides S3 storage integration for tentaclio…
unclear · top 5,000 on PyPI