Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document required S3 bucket policy #214

Open
lindhe opened this issue May 20, 2024 · 2 comments
Open

Document required S3 bucket policy #214

lindhe opened this issue May 20, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@lindhe
Copy link

lindhe commented May 20, 2024

It's currently unclear what S3 bucket policy is required for the S3 support for etcd snapshots to work. Would be good if this was documented with an example!

@brandond brandond added the documentation Improvements or additions to documentation label May 21, 2024
@wszychta
Copy link

We are also facing this problem. This would be very usefull to add such documentation with minimum list of permissions.

@lindhe
Copy link
Author

lindhe commented Jul 29, 2024

The policy I've applied looks like this:

{
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:DeleteObject",
                "s3:GetObject",
                "s3:ListBucket",
                "s3:PutObject"
            ],
            "Resource": [
                "arn:aws:s3:::foo",
                "arn:aws:s3:::foo/*"
            ]
        }
    ]
}

I am experiencing some issues currently, but I think it's unrelated to the policy (but hard to tell for sure). So if we can get a review of this policy, perhaps that can be a basis for docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants