add minimal gcp permissions

This commit is contained in:
stdoutput 2023-03-17 10:35:57 +01:00
parent 0b498d1ae6
commit 3132bbf45a

View file

@ -115,7 +115,15 @@ Since `clientSecretValue` is a sensitive value, you can leave it empty in the co
You must be authenticated with the [GCP CLI](https://cloud.google.com/sdk/gcloud) in the shell session.
Your GCP account also needs to have at least the following permissions:
* `iam.serviceAccountKeys.create`
* `iam.serviceAccountKeys.delete`
* `iam.serviceAccountKeys.get`
* `iam.serviceAccounts.create`
* `iam.serviceAccounts.delete`
* `iam.serviceAccounts.get`
* `iam.serviceAccounts.getAccessToken`
* `resourcemanager.projects.getIamPolicy`
* `resourcemanager.projects.setIamPolicy`
```bash
constellation iam create gcp --projectID=yourproject-12345 --zone=europe-west2-a --serviceAccountID=constell-test