A factory for creating boto session managers with environment-aware AWS authentication across local, CI/CD, and cloud runtimes.
Project description
Welcome to which_bsm Documentation
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fefe3cb52c42528a57ab6a5494802670b8ea571950f13a482739430fe60380dd
|
|
| MD5 |
303b081eb7e227ea0dd060926a99a0b2
|
|
| BLAKE2b-256 |
a8a96c1561abfc4995eb3a84ecfaf479cf82051ed1908a32f548d5442d5d18d3
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbfcc6144ed544676201ea4686a4ea81a12bce77fbea167357cc6a82755d7c6d
|
|
| MD5 |
1f5194112472c5929dfb0954cad2c668
|
|
| BLAKE2b-256 |
9b5ac14ffe76c819d00bf90af17eb7bb7eba4ef70be42e702b7a8c36d67c02d5
|