With AssumeRole

This is an AWS recommended method for cross account access sharing.

To connect using AssumeRole, we recommend setting up a call with our team as it requires multiple to & fro.

  1. Share your AWS Account Number with Doctor Droid team.
  2. Create a new role in your account with the following Trust Policy. ({{Role_ARN_Shared_By_Doctor_Droid}} to be shared by Doctor Droid team)
    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::{{Role_ARN_Shared_By_Doctor_Droid}}"
                },
                "Action": "sts:AssumeRole",
              "Resource": "{{EKS_READER_ARN}}"
            }
        ]
    }
    
  3. Share the ARN of the new role created & the EKS_Reader_ARN with Doctor Droid team.