{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"}],"enrichment":{"capability":"Wraps boto3 to create AWS IAM assume-role sessions with automatic credential refreshing, eliminating manual credential management when switching roles.","skillfed_tags":["aws-iam","credential-management"],"use_cases":["Cross-account AWS access: assume a role in another AWS account to access resources without managing separate credentials.","Multi-role applications: switch between different IAM roles within the same application without manual credential refresh logic.","Long-running services: maintain assume-role credentials that auto-refresh over hours or days without manual intervention.","Temporary elevated permissions: assume a higher-privilege role for specific tasks, with credentials automatically expiring after a set duration.","CI/CD pipelines: assume deployment or testing roles without hardcoding temporary credentials in environment variables."],"what_it_does":"boto3-assume is a thin wrapper around boto3 that simplifies the creation of assume-role sessions with built-in credential refreshing. Instead of manually managing STS AssumeRole calls and credential expiration, you pass a source boto3 Session and role details to assume_role(), which returns a new session whose credentials automatically refresh when they expire. The wrapper handles the STS client creation and credential lifecycle internally.\n\nThe package is designed for developers who need to work with multiple AWS IAM roles within a single application\u2014particularly in cross-account scenarios or when switching between roles frequently. It reduces boilerplate by eliminating the need to manually track credential expiration times or re-invoke AssumeRole. The underlying mechanism uses boto3's STS client to call assume_role with your specified parameters (RoleArn, RoleSessionName, optional DurationSeconds, tags, etc.) and wraps the resulting credentials in a session that refreshes them transparently.","worth_installing":"Yes, if you regularly assume AWS IAM roles in boto3 applications. The package eliminates credential-refresh boilerplate and is lightweight (two dependencies). The aging maintenance status (211 days since last release) is a minor concern for a stable, narrow-scope utility, but check whether your Python version (3.10+) and boto3 version are compatible. No known vulnerabilities."},"id":"boto3-assume","links":{"html":"https://skillfed.io/packages/boto3-assume","md":"https://skillfed.io/packages/boto3-assume.md","pypi":"https://pypi.org/project/boto3-assume/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-15","license_spdx":null,"license_treatment":"permissive","name":"boto3-assume","python_support":"unspecified","summary":"Easily create boto3 assume role sessions with automatic credential refreshing."},"popularity":{"monthly_downloads":216159,"position":9385,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.1"}
