Plugin to use a Yubikey with awsume
Project description
Awsume Yubikey Plugin
This is a plugin that enables you to use your Yubikey to authenticate the MFA setup on roles when assuming them.
Installation
Prerequisites
First you must install swig
using your operating systems package manager:
For example, on MacOS you can use brew
:
brew install swig
Plugin install
pip install awsume-yubi-plugin
If you've installed awsume with pipx
, this will install the console plugin in awsume's virtual environment:
pipx inject awsume awsume-yubi-plugin
If you've installed awsume with brew
, you will first need to activate the venv
that awsume is installed into:
source $(brew --prefix awsume)/libexec/bin/activate
pip install awsume-yubi-plugin
deactivate
Usage
-
First you must setup your AWS account to use a virtual MFA device that uses the Yubikey Oath service: https://aws.amazon.com/blogs/security/enhance-programmatic-access-for-iam-users-using-yubikey-for-multi-factor-authentication/
-
Make sure your Yubikey is inserted before running the command.
-
Use the Yubikey Oath credentials to provide an MFA token
awsume <profile_name> -y
Will ask you to touch your Yubikey when authenticating the specified profile.
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
File details
Details for the file awsume-yubi-plugin-0.1.2.tar.gz
.
File metadata
- Download URL: awsume-yubi-plugin-0.1.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c18d1d8b6fba9662a8bc8c7455d7f71e331ecd880e7ce02910aaffda5d8471f |
|
MD5 | d389ba85fc02a23e0181f50d5a6d5ddb |
|
BLAKE2b-256 | ff36801509ba9b0445198c082a8b783d8255701d56152d76d3a7b89ff94e6138 |