Skip to main content

AWS Session Handler

Project description

aws_session_handler

Amazon Web Service python session helper

Features

  • cache credentials on disk if assume_role with mfa serial

Usage

pip install aws-session-handler
from aws_session_handler import AwsSessionHandler

handler = AwsSessionHandler(profile='default')
s3 = handler.client('s3')
print(s3.list_buckets())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_session_handler-0.0.4.tar.gz (4.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page