aws-mfa-session

command
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL