File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,13 +271,13 @@ INFO - Success! Your credentials will expire in 1800 seconds at: 2016-10-24 18:5
271271Assuming a role in multiple accounts and be able to work with both accounts simultaneously (i.e. production an staging):
272272
273273``` sh
274- $> aws-mfa — profile myorganization --assume-role arn:aws:iam::222222222222:role/Administrator --short-term-suffix production --long-term-suffix none --role-session-name production
274+ $> aws-mfa -- profile myorganization --assume-role arn:aws:iam::222222222222:role/Administrator --short-term-suffix production --long-term-suffix none --role-session-name production
275275INFO - Validating credentials for profile: myorganization-production with assumed role arn:aws:iam::222222222222:role/Administrator
276276INFO - Your credentials have expired, renewing.
277277Enter AWS MFA code for device [arn:aws:iam::111111111111:mfa/me] (renewing for 3600 seconds):123456
278278INFO - Success! Your credentials will expire in 3600 seconds at: 2017-07-10 07:16:43+00:00
279279
280- $> aws-mfa — profile myorganization --assume-role arn:aws:iam::333333333333:role/Administrator --short-term-suffix staging --long-term-suffix none --role-session-name staging
280+ $> aws-mfa -- profile myorganization --assume-role arn:aws:iam::333333333333:role/Administrator --short-term-suffix staging --long-term-suffix none --role-session-name staging
281281INFO - Validating credentials for profile: myorganization-staging with assumed role arn:aws:iam::333333333333:role/Administrator
282282INFO - Your credentials have expired, renewing.
283283Enter AWS MFA code for device [arn:aws:iam::111111111111:mfa/me] (renewing for 3600 seconds):123456
You can’t perform that action at this time.
0 commit comments