(AWS) Configure S3 external access
Instructions
Taking as general guide this AWS article, the step-by-step guide for a user to grant external access is:
Set custom trust policy
In the custom trust policy section, we enter the Flashback network AWS's trusted principal ARN descriptor.
The AWS Principal must be exactly the same string as indicated below "arn:aws:iam::314146316322:user/flashback"
The "Action" must be "sts:AssumeRole"
The ExternalId can be one of our choice as long as it contains valid characters.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::314146316322:user/flashback"
},
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": {
"sts:ExternalId": "flashback-service-3e1f7bd5"
}
}
}
]
}
Edit the new role to apply the custom inline policy
After creating the new role, we are going to edit it to apply the custom inline security policy:
We go to Permissions tab, and in the "Add permissions" menu, we select "Create Inline Policy"

We paste the following JSON
If we are granting access to a single bucket called "mybucket1":
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::mybucket1"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::mybucket1/*"
}
]
}
If we are granting access to more than one bucket, then we have to indicate the "Resource" field as an array with the list of bucket ARNs and bucket contents (mybucket/*):
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::mybucket1",
"arn:aws:s3:::mybucket2",
...
"arn:aws:s3:::mybucketN",
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::mybucket1/*",
"arn:aws:s3:::mybucket2/*",
...
"arn:aws:s3:::mybucketN/*",
]
}
]
}
Setting up the maximum session duration to 1 hour
We set up the maximum session duration to 1 hour by editing the Role Summary properties (button "Edit" to the right):


Important: Indicating a custom period of less than 1h can cause premature session termination and connectivity problems in the nodes.
If you require nodes to hold temporary sessions of less than 1h for compliance or other reasons, please contact Flashback Support.
Last updated
Was this helpful?