Documentation ¶
Overview ¶
aws-mfa-session is a command line to create session-based authentication keys and secrets for a given profile and multi-factor authentication (MFA) token and then writing that key and secret back to a "credentials" file in a specific profile section. For example, when used in a Makefile with https://github.com/Yubico/yubikey-manager/tree/master/ykman
$(eval CODE := $(shell ykman oath code sfomuseum:aws | awk '{ print $$2 }')) bin/$aws-mfa-session -code $(CODE) -duration PT8H
Click to show internal directories.
Click to hide internal directories.