Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this article

Table of Contents
maxLevel2
absoluteUrltrue

Prerequisites 

  • Familiarity with the SnapLogic and AWS platforms.
  • AWS Account with S3 buckets.

Key Steps

  1. Creating a Cross Account IAM Role and Policy in AWS Account.

  2. Associating the IAM Policy to the Created Role.

  3. Account Settings for Access Through SnapLogic

Creating a Cross Account IAM Role and Policy in AWS Account

...

Overview

The Cross-Account IAM Role enables a client from an AWS account to access the resources of another AWS account temporarily using the

...

Snaps that support

...

Cross IAM role functionality. This helps organizations or different teams in an organization to access each other's AWS

...

accounts without compromising security by sharing AWS credentials.

You can briefly allow access to your AWS account and specify the access duration. You must create a role and policy in your AWS account. The policy created by the host is attached to the access seeker's account. This

...

Cross-Account IAM role enables SnapLogic to trigger the necessary APIs.

Prerequisites 

  • Familiarity with the SnapLogic and AWS platforms.

  • AWS Account with S3 buckets.

Key Steps

Create a Cross-Account IAM Role and Policy in AWS Account

  1. Log in to the AWS Management Console and

...

  1. navigate to IAM > Roles.

...

  1. Click Create roleAnother AWS Account.

...

  1. Specify the account ID for the other account

...

  1. that will access your account.

...

...

  1. Image Added
  2. Enter the account number of the access

...

  1. seeker in the Account ID field

...

  1. . For more information, refer to https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-identifiers.html.

    • Optionally, add an additional security layer to authenticate for each login by checking the Options check box

...

    • next to Require external ID

...

    • .

...

...

  1. Click Next: Permissions.

...

  1. When the Attach permission policies screen displays

...

  1. where you can set the permissions

...

  1. , select the checkbox next to the applicable policy for this role.

...

    • Optionally, as appropriate add tags. Click Next: Tags

...

    • to skip to the next screen.

  1.  Click Next: Review to skip to

...

  1. the next screen.

  2. Review the information displayed and add a name for the role. Click Create role.

Image Removed

        The Summary page displays the Amazon Resource Name number.  Make a note of this ARN, as you will need it when completing the AWS IAM Role account settings.

         

...

Info

Learn more at https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html

Code Block
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "sts:AssumeRole",
            "Principal": {
                "AWS": "222520180446"
            },
            "Condition": {
                "StringEquals": {
                    "sts:ExternalId": "snaplogic"
                }
            }
        }
    ]
}

Associate the IAM Policy with the Created Role

...

  1. In

...

  1. the AWS console, click Users and select the user name which is listed in the table.

...

  1. On the Summary screen, select the desired user and click Add inline policy to attach the policy.

...

  1. Click the JSON tab and

...

  1. enter the details of the policy in the editor

...

  1. , and Click Review Policy.

...

  1. Review the policy summary. Add a name and, optionally, a description for this policy, and click Create policy

  2. The policy is created and can now be assigned to the cross-account IAM role. 

    Code Block
    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Action": "sts:AssumeRole",
                "Resource": "<Role ARN>"
            }
        ]
    }

...

  1. 
    
Note

The Role ARN is displayed on the summary tab when the role is created.

Account Settings for Access Through SnapLogic

You can configure the

...

Cross-Account IAM Role

...

for S3 Account or S3 Dynamics Account. Enter the credentials provided

...

for the IAM role.  Enter Role ARN and External ID (if

...

set up by the host) provided from the host S3 account.

Steps

  1. Enter the Access-key ID, Secret key of the host S3 account. The credentials should belong to the IAM user we attached policy in the last section.

   OR

...

  1. For an account used in EC2

...

  1. Groundplex with an IAM role configured, select the IAM role check box.

...

  1. Specify the Role ARN and External ID provided by the S3 host account.

...

Related Content