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:- Create a role with Custom trust policy, including the Northbeam user (below) as a Principal with the
sts:AssumeRolepermission:arn:aws:iam::892581138023:user/nb-data-orders-export-custom-sa-user
- Copy the ARN of the role you created on step
1, and the name of the bucket you wish to use - 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 step2.PS: The action iam:SimulatePrincipalPolicy is required, as our system relies on it to validate the bucket permissions.
- If you created a standalone policy, attach it to the role you created on step
2. - Provide the role ARN in each data export request through the
aws_roleparameter.