assume-role-for-account.json 322 B

12345678910111213141516
  1. {
  2. "Version": "2012-10-17",
  3. "Statement": [
  4. {
  5. "Action": "sts:AssumeRole",
  6. "Principal": { "AWS": "arn:${aws_partition}:iam::${account_id}:root" },
  7. "Effect": "Allow",
  8. "Sid": "",
  9. "Condition": {
  10. "Bool": {
  11. "aws:MultiFactorAuthPresent": "true"
  12. }
  13. }
  14. }
  15. ]
  16. }