IBM COS SDK - Access bucket using service ID

192 Views Asked by At

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.

1

There are 1 best solutions below

4
On

You can create any number of Service Credentials using the same Service ID. That way you can manage permissions for a single ID, and any changes in that Service ID's roles will be applied to any Service Credentials generated using that ID. Some more info is in the IAM docs.