object-storage - IBM COS SDK - Access bucket using service ID
问题描述
I'm able to using the example in https://github.com/ibm/ibm-cos-sdk-python/ to access the bucket using the Service Credentials information. Is there a way to access the bucket using service ID and its API? Or I have to create service credentials for each service ID? I'm trying to limit read and write access of the service ID to a specific bucket. Thanks for any advice you may have.
解决方案
您可以使用相同的服务 ID 创建任意数量的服务凭证。这样,您可以管理单个 ID 的权限,并且该服务 ID 角色的任何更改都将应用于使用该 ID 生成的任何服务凭证。更多信息在IAM 文档中。
推荐阅读
- bash - 如何在 bash 中插入动态匹配模式?
- java - 编译器无法识别我对 .getPoint 的输入
- quarkus - 具有 jaeger opentracing 支持的 quarkus reactive-postgresql-client
- csv - 将数据从 csv 转换为动态列表 (Flutter)
- python - Rstudio markdown中的python
- python-3.x - (Python)我想将以下带有 return 语句的 for 循环放在一行上:
- python - discord.ext.commands.errors.CommandInvokeError:命令引发异常:TypeError:'list'对象不可调用
- c# - 如果用户在hangman c#中正确猜测,我如何显示用户的输入
- docker - 评估 Dockerfile 中的 bash 表达式
- http - 增加 K8S 入口的 URL 长度限制