-
Notifications
You must be signed in to change notification settings - Fork 9
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
how to assign a policy to a bucket ? #34
Comments
Hi thanks for your contribution, the operator is for the moment only doing bucket and policy and for the minio provider. In mynio there is no bucket on policy, the policy just open some actions on bucket/prefix link to a user external or managed. |
i am not sure i understood your point 100%. i am using minio and from the UI i am able to create custom policies and assign them to buckets using a specific selector. i am not currently aware of any way to assign a policy to a bucket directly from the policy definition itself. is this what you are referring to perhaps ? |
Hello, sorry for the delay in answering. The operator only manages the creation of "canned policies" through the use of the madmin Go client. I am not sure these policies can be attached to buckets, as one of these policies could include statement spanning several different buckets. FWIW, our users are authenticated with STS, and have the policies attached by a dedicated claim in their JWT. |
my use case is the following:
i would like this to happen all automatically, that's why i am asking whether it can be handled solely using CRDs. of course every user authenticates using a JWT, but i am not sure how to add information for MinIO within that token, if that's what you mean |
Sorry yet again for the delay, despite my notification settings, I guess my company's mail server filters out these mails from Github. Using s3-operator, you can create the bucket and the "public" with a
Still not sure this answers your question, but hopefully it will help you deciding whether s3-operator can fit your needs. |
buckets and policies are created correctly using the examples in the readme, but how to assign the policies to the buckets ??
The text was updated successfully, but these errors were encountered: