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

Missing minimal permissions for Google Cloud service account KES role #66

Open
randywatson1979 opened this issue Nov 21, 2024 · 0 comments

Comments

@randywatson1979
Copy link

randywatson1979 commented Nov 21, 2024

I have followed this guide on how to setup a role with minimal permissions for KES.
https://github.com/minio/kes-docs/blob/main/content/integrations/google-cloud-secret-manager.md

During testing, the Minio tenant pod went into a crashloop with the following logs:

level=ERROR msg="gcp: failed to read 'my-minio-key': rpc error: code = PermissionDenied desc = Permission 'secretmanager.versions.access' denied for resource 'projects/############/secrets/my-minio-key/versions/1'

and

``failed to create 'my-minio-key': rpc error: code = PermissionDenied desc = Permission 'secretmanager.versions.add' denied for resource 'projects/############/secrets/my-minio-key'

After adding secretmanager.versions.access and secretmanager.versions.add permissions, it worked.

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

No branches or pull requests

1 participant