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

Minimum permission policy for AWS S3 #8167

Open
mig4ng opened this issue Apr 18, 2024 · 5 comments
Open

Minimum permission policy for AWS S3 #8167

mig4ng opened this issue Apr 18, 2024 · 5 comments
Labels
question The issue is a question. Please use Stack Overflow for questions.

Comments

@mig4ng
Copy link

mig4ng commented Apr 18, 2024

Following this tutorial/docs: https://cube.dev/docs/product/deployment#storage

What are the minimum permission policy required for this to work?

@igorlukanin
Copy link
Member

Hi @mig4ng 👋 Are you asking about the Amazon S3 permissions? Cube Store would be storing files on S3, so it should have read and write access to S3.

@igorlukanin igorlukanin added the question The issue is a question. Please use Stack Overflow for questions. label Apr 18, 2024
@carneiroskeeled
Copy link

carneiroskeeled commented Apr 18, 2024

Hi @mig4ng 👋 Are you asking about the Amazon S3 permissions? Cube Store would be storing files on S3, so it should have read and write access to S3.

Yes @igorlukanin , the precise requirements. Because I created a policy that adds read and write permission to a specific bucket and I get an access error in the cube-router. I might be missing some permissions.

Does it need permission to list all buckets in order to work?

@carneiroskeeled
Copy link

Hi @paveltiunov @ovr maybe one of you might be able to answer me this 😄

@ovr
Copy link
Member

ovr commented May 16, 2024

it's better to use a separate bucket and allow all operations (something s3:*) for bucket and bucket/*.

@carneiroskeeled
Copy link

@ovr I did that, but it is breaking. It is only working when the API key has permission over all s3 buckets.
That's why I find it strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue is a question. Please use Stack Overflow for questions.
Projects
None yet
Development

No branches or pull requests

4 participants