Skip to content

Get AWS temporary credentials for the role with MFA enabled

Notifications You must be signed in to change notification settings

vulnbe/aws-mfa-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

AWS auth helper for MFA support in terraform

AWS config example

[profile user]
region = eu-central-1

[profile privileged]
source_profile = user
mfa_serial = arn:aws:iam::xxx:mfa/user
role_arn = arn:aws:iam::xxx:role/PrivilegedRole

[profile privileged_terraform]
credential_process = aws_auth_helper.py privileged

About

Get AWS temporary credentials for the role with MFA enabled

Topics

Resources

Stars

Watchers

Forks

Languages