Skip to main content

Tool for using AWS CLI with LastPass SAML

Project description

aws-lp: AWS LastPass CLI

PyPI version

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

lastpass-aws-login-0.1.1.tar.gz (21.2 kB view hashes)

Uploaded Source

Built Distribution

lastpass_aws_login-0.1.1-py2.py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page