File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ Configure a user in AWS IAM that is required to use MFA to connect to S3
2525 ```
2626 [<S3-ROLE-NAME>]
2727 source_profile=<S3_USER>
28- role_arn=arn:aws:iam::930717317329 :role/<S3-ROLE-NAME>
29- mfa_serial=arn:aws:iam::930717317329 :mfa/<MFA-DEVICE-NAME>
28+ role_arn=arn:aws:iam::<Account ID> :role/<S3-ROLE-NAME>
29+ mfa_serial=arn:aws:iam::<Account ID> :mfa/<MFA-DEVICE-NAME>
3030 ```
3131
3232### Create IAM role allowing access to S3 enforcing the MFA requirement
@@ -55,8 +55,8 @@ Configure a user in AWS IAM that is required to use MFA to connect to S3
5555 ```
5656 [<S3-ROLE-NAME>]
5757 source_profile=<S3_USER>
58- role_arn=arn:aws:iam::930717317329 :role/<S3-ROLE-NAME>
59- mfa_serial=arn:aws:iam::930717317329 :mfa/<MFA-DEVICE-NAME>
58+ role_arn=arn:aws:iam::<Account ID> :role/<S3-ROLE-NAME>
59+ mfa_serial=arn:aws:iam::<Account ID> :mfa/<MFA-DEVICE-NAME>
6060 ```
6161 This will require the user to enter a MFA code when assuming a role with a S3 access policy attached when connecting.
6262
@@ -91,7 +91,7 @@ Configure a user in AWS IAM that is required to use MFA to connect to S3
9191 {
9292 "Effect": "Allow",
9393 "Action": "sts:AssumeRole",
94- "Resource": "arn:aws:iam::ACCOUNT_ID :role/S3-ROLE-NAME"
94+ "Resource": "arn:aws:iam::<Account ID> :role/S3-ROLE-NAME"
9595 }
9696 ]
9797 }
You can’t perform that action at this time.
0 commit comments