Creates a boto3 session using IAM Roles Anywhere for authenticating workloads outside AWS with temporary credentials. Version 2.3.0 supports both synchronous and async session creation. Release cadence is irregular.
pip install iam-rolesanywhere-sessionNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a session with IAM Roles Anywhere and get a boto3 client.
Install iam-rolesanywhere-session and change imports to use iam_rolesanywhere_session.
Use 'duration_seconds' instead of 'session_duration'.
Read the private key file contents and pass the string: open('key.pem').read().Ensure the certificate ARN references an ACM Private CA certificate.
Use asyncio.run() or ensure an event loop is running when creating the async session.
No dependency data recorded yet.
No resource links recorded.