Skip to main content

A factory for creating boto session managers with environment-aware AWS authentication across local, CI/CD, and cloud runtimes.

Project description

Documentation Status https://github.com/MacHu-GWU/which_bsm-project/actions/workflows/main.yml/badge.svg https://codecov.io/gh/MacHu-GWU/which_bsm-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/which-bsm.svg https://img.shields.io/pypi/l/which-bsm.svg https://img.shields.io/pypi/pyversions/which-bsm.svg https://img.shields.io/badge/✍️_Release_History!--None.svg?style=social&logo=github https://img.shields.io/badge/⭐_Star_me_on_GitHub!--None.svg?style=social&logo=github
https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to which_bsm Documentation

https://which-bsm.readthedocs.io/en/latest/_static/which_bsm-logo.png

which_bsm is a factory for creating boto session managers with environment-aware AWS authentication across local, CI/CD, and cloud runtimes. It automatically selects the appropriate authentication method based on where your code is running - whether that’s local development with AWS CLI profiles, CI/CD environments using role assumption, or AWS compute services with built-in IAM roles.

The library simplifies multi-environment AWS deployments by providing a single configuration point that adapts to different runtime contexts. You configure your environment topology once, and the system handles authentication complexity automatically.

Key features include lazy-loaded session management, AWS account ID validation, automatic workload role ARN generation for CI environments, and runtime detection across various AWS services (Lambda, Batch, ECS, Glue, EC2) and CI platforms.

Install

which_bsm is released on PyPI, so all you need is to:

$ pip install which-bsm

To upgrade to latest version:

$ pip install --upgrade which-bsm

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

which_bsm-0.1.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

which_bsm-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file which_bsm-0.1.1.tar.gz.

File metadata

  • Download URL: which_bsm-0.1.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for which_bsm-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fefe3cb52c42528a57ab6a5494802670b8ea571950f13a482739430fe60380dd
MD5 303b081eb7e227ea0dd060926a99a0b2
BLAKE2b-256 a8a96c1561abfc4995eb3a84ecfaf479cf82051ed1908a32f548d5442d5d18d3

See more details on using hashes here.

File details

Details for the file which_bsm-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: which_bsm-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for which_bsm-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dbfcc6144ed544676201ea4686a4ea81a12bce77fbea167357cc6a82755d7c6d
MD5 1f5194112472c5929dfb0954cad2c668
BLAKE2b-256 9b5ac14ffe76c819d00bf90af17eb7bb7eba4ef70be42e702b7a8c36d67c02d5

See more details on using hashes here.

Supported by

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