https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2I0MDQ2IiwiaGFzaCI6IjQwNjE1NTA5LWI5YmItNDc4My1hYTJkLWJlYTFlMDk5ZTc2ZSJ9
1-800-691-1991 | 9am - 8pm ET
EN

How to create secure IAM policy for connection to S3 object storage

Challenge

How to create a secure IAM policy to connect to the S3 bucket that you want to use as an object storage repository in Veeam Backup for Microsoft Office 365 to store backup data.

Solution

Follow the instructions from the Creating IAM policies article and use the following JSON to create an IAM policy for connection to an S3 object storage bucket (make sure to replace the <yourbucketname> tag with the actual name of the bucket). These permissions will allow the Veeam Backup for Microsoft Office 365 Service to access the S3 bucket to save/load data to/from an object storage repository.
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
               "s3:ListAllMyBuckets",
               "s3:GetBucketLocation"
            ],
            "Resource": "arn:aws:s3:::*" 
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket"
            ],
            "Resource": "arn:aws:s3:::<yourbucketname>" 
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject", 
                "s3:DeleteObject", 
                "s3:AbortMultipartUpload" 
            ],
            "Resource": "arn:aws:s3:::<yourbucketname>/*" 
        }
    ]
}
KB ID:
4046
Product:
Veeam Backup for Microsoft Office 365 4.0
Published:
2020-11-10
Last Modified:
2020-11-11
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.