·
116 commits
to main
since this release
boto3-refresh-session (BRS) was originally designed to automatically refresh temporary security credentials using only STS.Client.assume_role.
To expand BRS's features, the latest changes include an ecs module that supports automatic refresh of temporary security credentials for ECS as well and use ECS metadata to retrieve credentials. Those changes were tested locally using mocked AWS credentials and a mocked AWS API. No unit / integration tests were added in the latest changes, however. Early adopters of the ecs module are encouraged to open issues if any appear.
Example usage:
from boto3_refresh_session import RefreshableSession
session = RefreshableSession(method="ecs")
s3 = session.client("s3")
s3.list_buckets()
Additional services will be introduced to BRS over the next two to three months. Stay tuned.
What's Changed
- [minor] Adding ECS module to boto3-refresh-session by @michaelthomasletts in #57
Full Changelog: 1.1.3...1.2.0