Object Storage Access Controls API

时间秒杀一切 提交于 2020-01-06 21:08:24

问题


I have looked all through the SoftLayer API documentation, but I cannot find any reference to how one manages which portal users may access the Object Storage authentication endpoints to get the access token.


回答1:


if you wish an user have access to the object storage you have to grant the following permissions:

"Manage CDN Account", "Manage CDN File Transfer" and "Manage Storage"

Remove the permissions above in order to not let your user to access the object storage

see:

http://knowledgelayer.softlayer.com/faq/can-user-have-cdn-and-storagelayer-permissions-granted-be-prohibited-accessing-object-storage http://knowledgelayer.softlayer.com/faq/can-sub-user-access-object-storage http://knowledgelayer.softlayer.com/procedure/manage-object-storage-user

using API you can set the permissions using these methods:

http://sldn.softlayer.com/reference/services/SoftLayer_User_Customer/addBulkPortalPermission http://sldn.softlayer.com/reference/services/SoftLayer_User_Customer/removeBulkPortalPermission

here an example: https://gist.github.com/underscorephil/7583408




回答2:


It seems to be similar to this question:

Softlayer Object Storage Auth Endpoint

References:

Managing SoftLayer Object Storage Through REST APIs



来源:https://stackoverflow.com/questions/35783992/object-storage-access-controls-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!