Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




List Attached Role Policies

POST ListAttachedRolePolicies

Lists all managed policies that are attached to the specified IAM Role in the caller's namespace or x-emc-namespace header if provided.


Query Parameters

MarkerFor pagination, the value of the Marker element in the response that you received to indicate where the next call should start.
MaxItemsUse this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true and Marker contains a value to include in the subsequent call that tells the service where to continue from.
PathPrefixThe path to the IAM role.
RoleNameSimple name identifying the role.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
ListAttachedRolePoliciesResponse
ListAttachedRolePoliciesResult    
AttachedPolicies
member 0-* Elements
Marker When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. String
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?RoleName=FinanceRole&Action=ListAttachedRolePolicies

Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:ListAttachedRolePoliciesResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:d8c0:0</RequestId>
    </ResponseMetadata>
    <ListAttachedRolePoliciesResult>
        <IsTruncated>false</IsTruncated>
        <AttachedPolicies>
            <member>
                <PolicyName>ECSS3FullAccess</PolicyName>
                <PolicyArn>urn:ecs:iam:::policy/ECSS3FullAccess</PolicyArn>
            </member>
            <member>
                <PolicyName>IAMFullAccess</PolicyName>
                <PolicyArn>urn:ecs:iam:::policy/IAMFullAccess</PolicyArn>
            </member>
        </AttachedPolicies>
    </ListAttachedRolePoliciesResult>
</ns2:ListAttachedRolePoliciesResponse>