首页 > 解决方案 > Google Cloud API for user

问题描述

I am AWS fella, so I have no knowledge if this is possible with Google Cloud and googling has failed me so far.

I have a user that I added to a bucket foo with role bar. All I see at the moment is that I get GUI access for bucket foo, now how/can I generate API key for my user so I can use it with resources allowed with role bar?

All I see as an option at the moment is creating service account which does not sound proper to me, but i might be wrong.

标签: google-cloud-platformgoogle-iam

解决方案


Google Cloud 不再支持(或减少对)API 密钥的支持。您的授权选择是 OAuth(用户帐户凭据)或服务帐户或云存储的预签名 URL。如果这是将使用 Google Cloud 控制台或工具的用户,请使用 OAuth 用户凭据。如果这是一个软件程序,请使用服务帐户。


推荐阅读