how to create a oauth client id for gcp programmat

2019-05-20 03:22发布

I can create OAuth2.0 Client IDs and Client Secret with Authorized redirect URIs using the GUI in GCP.. The Console URL is given below for reference

https://console.cloud.google.com/apis/credentials

How do we do this in cloud shell or with the GCloud SDK

1条回答
▲ chillily
2楼-- · 2019-05-20 03:55

It seems that no API from Google can manage OAuth client ID or Credentials related configuration.

I've not found any on API Library and many other questions related to this give the same answer (can't manage API Key for example).

If you're a Terraform user, they're an open issue on Google Provider: https://github.com/terraform-providers/terraform-provider-google/issues/1287

查看更多
登录 后发表回答