Skip to main content

Exporting to an external S3 bucket

If you want to export your data to your S3 bucket, you can do so by following the steps below:
  1. Create a role with Custom trust policy, including the Northbeam user (below) as a Principal with the sts:AssumeRole permission:
    arn:aws:iam::892581138023:user/nb-data-orders-export-custom-sa-user
  1. Copy the ARN of the role you created on step 1, and the name of the bucket you wish to use
  2. Create a policy (inline in the role or standalone) providing the permissions below, just changing the placeholders <BUCKET_NAME> and <ROLE_ARN> with the information you got from step 2.
    PS: The action iam:SimulatePrincipalPolicy is required, as our system relies on it to validate the bucket permissions.
  1. If you created a standalone policy, attach it to the role you created on step 2.
  2. Provide the role ARN in each data export request through the aws_role parameter.