Skip to main content

aws-assume-role-otp

AWS Assume Role OTP allows you to assume a role on AWS at the same time it generates the MFA token.

Installation

pip install aws-assume-role-otp

Usage

aws-assume-role-otp

Add role

aws-assume-role-otp --add-role

Remove role

aws-assume-role-otp --remove-role

First time configuration

The first time you run this tool, it will ask you to inform:

  • AWS Access Key ID
  • AWS Secret Access Key
  • Serial MFA Secret. How to register device
  • MFA ARN
  • Roles and profiles

Build locally

pip install build
python -m build
pip install dist/aws_assume_role_otp-0.3-py3-none-any.whl

Changelog

[0.3] - 2023-10-02

Added

  • Allow to add or remove roles

Metadata

Release files for aws-assume-role-otp 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-assume-role-otp 0.3
File Size Uploaded
aws_assume_role_otp-0.3.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-assume-role-otp 0.3
File Interpreter ABI Platform
aws_assume_role_otp-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 16.0 kB

Release files / aws_assume_role_otp-0.3.tar.gz

Download URL aws_assume_role_otp-0.3.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1f4129bd9c9c40887355dabf2c52728640a4881f63938ad1ca556a82ba02115b
BLAKE2b-256 checksum
How to use checksums
560aa4f2452e0075c6346885a526ff4d9cb2f796f7a905f0911e46fabd4286fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / aws_assume_role_otp-0.3-py3-none-any.whl

Download URL aws_assume_role_otp-0.3-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aab2de9035888dd3efcd8debd3d23cfff10157d2fbae2c35752e522a17c7c946
BLAKE2b-256 checksum
How to use checksums
79f476d0d6a0a1ad0b457ff0ddb03202a8f2ffab70fe634350be4ea3f6bb4ab7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page