Tool for using AWS CLI with LastPass SAML
Project description
aws-lp: AWS LastPass CLI
Tool for using AWS CLI with LastPass SAML.
LastPass code from here: https://github.com/omnibrian/aws-lp, SAML and profile management code mostly from here: https://github.com/NitorCreations/adfs-aws-login
Installation
This tool is published on pypi.org:
pip install lastpass-aws-login
Usage
You will need to look up your SAML configuration ID for the AWS role you wish to join. This is in the generated launch URL in the LastPass console, it will look something similar to https://lastpass.com/saml/launch/cfg/25
. In this case, the configuration ID is 25
, enter this number when prompted during configuration of aws-lp
.
aws-lp --configure
aws-lp
You will be prompted for your password and multi-factor code if that is set up on your account. If the command succeeds you will be returned to a prompt with the role name at the start of the prompt showing that you have managed to successfully get credentials and they are now added to your environment variables.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for lastpass_aws_login-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89b3d77fcadae2a7a4382f3eee9c6dbd09dace1685731ed553b6edf691f7f22 |
|
MD5 | 4bac0c2ad34b2671ede89b921160a045 |
|
BLAKE2b-256 | 7a4d7f09cb8d7a56944a6ae6de1f5179c37ed11cbe3dde463b19a43090396fab |