ListIDProviderGroupProjectPolicies#

Description#

Returns the list of project policies attached to users in the identity provider group.

Request Parameters#

  • IDProviderGroupName — The name of the identity provided group.

    • Type: String

    • Required: Yes

  • IDProviderName — The name of the identity provider.

    • Type: String

    • Required: Yes

  • ProjectName — The name of the project.

    • Type: String

    • Required: Yes

Response Elements#

  • Policies — The list of project policies attached to users in the identity provider group.

    • Type: List of Policy objects

Examples#

Request

https://iam.k2.cloud/?Action=ListIDProviderGroupProjectPolicies
&IDProviderName=company
&IDProviderGroupName=AdminGroup
&ProjectName=project-1

Response

<ListIDProviderGroupProjectPoliciesResponse>
    <ListIDProviderGroupProjectPoliciesResult>
        <Policies>
            <member>
                <PolicyArn>arn:c2:iam:::policy/EC2FullAccess</PolicyArn>
                <PolicyId>da41d417-d39a-4ca7-a72e-33db79ea7db0</PolicyId>
                <PolicyName>EC2FullAccess</PolicyName>
                <Owner>provider</Owner>
                <Type>project</Type>
                <CreateDate>1728987679</CreateDate>
                <UpdateDate>1730903423</UpdateDate>
                <Description>Provides full access to EC2 service.</Description>
            </member>
        </Policies>
    </ListIDProviderGroupProjectPoliciesResult>
    <requestId>1f2ce0e6-a689-4e14-9dbc-effadd95fc3f</requestId>
    <ResponseMetadata>
        <RequestId>1f2ce0e6-a689-4e14-9dbc-effadd95fc3f</RequestId>
    </ResponseMetadata>
</ListIDProviderGroupProjectPoliciesResponse>
c2-iam ListIDProviderGroupProjectPolicies IDProviderName company IDProviderGroupName AdminGroup ProjectName project-1