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
Metadata
Release files for which-bsm 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| which_bsm-0.1.1.tar.gz | 9.8 kB | Without provenance | Details for which_bsm-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| which_bsm-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for which_bsm-0.1.1-py3-none-any.whl |
Total release size: 19.6 kB
Release files / which_bsm-0.1.1.tar.gz
| Download URL | which_bsm-0.1.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fefe3cb52c42528a57ab6a5494802670b8ea571950f13a482739430fe60380dd
|
|
BLAKE2b-256 checksum How to use checksums |
a8a96c1561abfc4995eb3a84ecfaf479cf82051ed1908a32f548d5442d5d18d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.8
|
Release files / which_bsm-0.1.1-py3-none-any.whl
| Download URL | which_bsm-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbfcc6144ed544676201ea4686a4ea81a12bce77fbea167357cc6a82755d7c6d
|
|
BLAKE2b-256 checksum How to use checksums |
9b5ac14ffe76c819d00bf90af17eb7bb7eba4ef70be42e702b7a8c36d67c02d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.8
|
Security for which-bsm 0.1.1
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.