Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

IAM Role Use case 2: Cross Account Access

Pragya Keshap answered on February 23, 2023 Popularity 3/10 Helpfulness 2/10

Contents


More Related Answers

  • What is the difference between an IAM role and an IAM user?
  • update IAM role policy from aws cli
  • AWS IAM Policies - Authorization
  • cloudformation create iam user with access key
  • Register role-based authorization services

  • IAM Role Use case 2: Cross Account Access

    0

    PROD Account (111111111111)

    1: Create IAM role (ProdS3AccessRole) with right permissions

    2: Establish trust relationship with DEV AWS account (222222222222)

    DEV Account (222222222222)

    Grant users (Ops Group) permissions to assume ProdS3AccessRole in PROD Account

    1: Create a customer managed policy ProdS3AccessPolicy allowing access to call STS AssumeRole

    API for ProdS3AccessRole(arn:aws:iam::111111111111:role/ProdS3AccessRole)

    2: Assign the policy to users (Ops Group)

    (Optional) 3: Enable MFA for assuming the role

    What happens when DEV AWS account Ops user requests access to

    Prod Account role?

    1: Operations user requests access to the role

    2: AWS STS AssumeRole API is called to check for access to ProdS3AccessRole role

    3: Operations user assumes the role 


    Popularity 3/10 Helpfulness 2/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 23 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.