1-800-691-1991 | 9am - 8pm ET
EN

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

KB ID: 4046
Product: Veeam Backup for Microsoft Office 365 4.0
Published: 2020-11-10
Last Modified: 2020-11-11

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

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend

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 try again later.