Not too sure what else it could be. Ran a few tests to try different scenarios (key deleted from Service Account), but I could only get that message to reproduce if the Service Account did not have the necessary permissions on the project you are trying to onboard. The only thing I can think of is that the permissions are added to a different project than the Service Account. Is that the case here?
I am not sure what you mean by that "the permissions are added to a different project than the Service Account". The permissions are added to a Service Account that is part of a project. I import the Service Account Key (JSON) which contains the project information. Nowhere in RedLock I specify a project or do I assign permissions in the project outside of the service account.
Just as a check, if you remove the extra permissions you added, does it throw the 'Permission denied" error again? Keeping only the 3 required permissions:
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!