Skip to main content

boto3auth

boto3auth is a simple (Python 3) wrapper for starting clients/resources with Boto3.

Installation

Requires boto3.

pip install boto3auth

Usage

Required:

  • resource: AWS resource (e.g. ec2, dynamodb, sqs, etc.)
  • type: Boto3 Session type (resource or client) Optional:
  • region: AWS region (e.g. us-east-1, ca-central-1, etc.)
  • account_id: AWS account number (if assuming role)
  • role: AWS IAM role (if assuming role)

boto3auth assumes you have local AWS credentials configured (or are using a system like aws-vault).

import boto3auth

# EC2 resource with local credentials
resource = boto3auth.auth('ec2')

# DynamoDB resource with assumed role
resource = boto3auth.auth('dynamodb', 'resource', 'us-east-1', '123412341234', 'my-cool-role')

# EC2 client in ca-central-1
client = boto3auth.auth('ec2', 'client', 'ca-central-1')

Metadata

Release files for boto3auth 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boto3auth 1.0.2
File Size Uploaded Provenance Actions
boto3auth-1.0.2.tar.gz 1.9 kB Without provenance Details for boto3auth-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for boto3auth 1.0.2
File Interpreter ABI Platform Actions
boto3auth-1.0.2-py3-none-any.whl Python 3 none any Details for boto3auth-1.0.2-py3-none-any.whl

Total release size: 4.8 kB

Release files / boto3auth-1.0.2.tar.gz

Download URL boto3auth-1.0.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
785aa558921e15a648c0b6eb127c656bcfa3dda79e74cc25a1e17e77c2e0915b
BLAKE2b-256 checksum
How to use checksums
dc7a98382c5ded1060acef3ef6190fdb3d05ef6185a067f13170f6ab4272c35b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / boto3auth-1.0.2-py3-none-any.whl

Download URL boto3auth-1.0.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7142951aa7cc5351f09a080ba9ed1640cbdeab2537a9d2cff32c27145846dde4
BLAKE2b-256 checksum
How to use checksums
9397693418246110776927f47c0a768a85962d3a8759c879835cff67f622fbfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Security for boto3auth 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page