Release v0.1.1 (What’s new?).
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