Difference between revisions of "Mfa serial"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | <code>mfa_serial</code> configuration option for <code>[[.aws/config]]</code> configuration file | ||
+ | * https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html | ||
+ | <pre> | ||
+ | [profile role-with-mfa] | ||
+ | region = us-west-2 | ||
+ | role_arn= arn:aws:iam::128716708097:role/cli-role | ||
+ | source_profile = cli-user | ||
+ | mfa_serial = arn:aws:iam::128716708097:mfa/cli-user | ||
+ | </pre> | ||
− | [[ | + | == Related == |
+ | * <code>[[aws iam list-virtual-mfa-devices]]</code> | ||
− | + | == See also == | |
+ | * {{aws configure}} | ||
+ | * {{MFA}} | ||
− | + | [[Category:AWS]] | |
− |
Latest revision as of 01:10, 4 February 2022
mfa_serial
configuration option for .aws/config
configuration file
[profile role-with-mfa] region = us-west-2 role_arn= arn:aws:iam::128716708097:role/cli-role source_profile = cli-user mfa_serial = arn:aws:iam::128716708097:mfa/cli-user
Related[edit]
See also[edit]
aws configure [ list-profiles | sso | sso-session | set ]
,~/.aws/config
,.aws/credentials
,mfa_serial
, AWS cli environmental variables:AWS_PROFILE
,AWS_REGION, AWS_DEFAULT_REGION, AWS_SESSION_TOKEN, AWS_ROLE_SESSION_NAME
,.aws/
, AWS functions,--profile, viawsconfig, viawscredentials
- MFA: FreeOTP, Google Authenticator, Okta Verify, Duo Security, Microsoft Authenticator, Strong customer authentication, Dualshield, HOTP, TOTP, OATH, Authy, Push authentication, google-authenticator, Duo Mobile,
DenyAllExceptListedIfNoMFA
, Configure MFA on AWS, LastPass Authenticator mobile app
Advertising: