google-cloud-platform - 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 不再支持(或减少对)API 密钥的支持。您的授权选择是 OAuth(用户帐户凭据)或服务帐户或云存储的预签名 URL。如果这是将使用 Google Cloud 控制台或工具的用户,请使用 OAuth 用户凭据。如果这是一个软件程序,请使用服务帐户。
推荐阅读
- delphi - Delphi,找不到类
- android - 在 Facebook 和 Instagram 内置浏览器上测试网站的任何解决方案
- azure-functions - 禁止直接从 Visual Studio Code 发布 Azure Function
- c# - 启动延迟任务
- kendo-ui-angular2 - 如何在 Kendo Scheduler 中隐藏当月以外的日期?(剑道 UI 角度)
- visual-studio-2019 - Visual Studio 开始调试弹出选择 json 架构窗口
- antlr - ANTLR4 语法 - 字段和扩展表达式中的“点”问题
- python - python字典操作面临的问题
- r - 使用 quantmod 使用 R 下载多个股票月度价格
- fft - 为什么 Tensorflow.js fftSize 与 Web Audio API fftSize 相差两倍?