Search code examples
gcloudservice-accounts

Enable domain wide delegation using the gcloud cli


I have a makefile in which I use the gcloud CLI to create a service account and set roles. I also would like to enable domain wide delegation for this service account using the gcloud CLI. I can only find instructions on how to do this using the developer console. Is it possible to enable domain wide delegation using the gcloud CLI?


Solution

  • According to the gCloud SDK documentions of gcloud iam, there are specific coomands to set roles and service-accounts.

    The commands available for domains are list-user-verified and verify.

    In this way, there is no way (yet) through the gCloudSDK to Perform G Suite Domain-Wide Delegation of Authority.