Retrieves the SAML provider metadocument that was uploaded when the IAM SAML provider resource object was created or updated.
Query Parameters
ProviderArn
The name of the provider to retrieve.
Required Roles
This call has no restrictions.
Request Payload
No Request Payload
Response Body
No Response Body
Examples
Request
POST https://192.168.0.0::4443/iam?Action=GetSAMLProvider&SAMLProviderArn=urn:ecs:iam::ns:saml-provider/TestProvider
Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
NOTE: SAMLMetadataDocument is truncated in this example
<ns2:GetSAMLProviderResponse xmlns:ns2="none">
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:1f40d:a8</RequestId>
</ResponseMetadata>
<GetSAMLProviderResult>
<SAMLMetadataDocument><EntityDescriptor.................</SAMLMetadataDocument>
<CreateDate>2020-04-16T16:29:27Z</CreateDate>
<ValidUntil>2120-03-23T16:29:27Z</ValidUntil>
</GetSAMLProviderResult>
</ns2:GetSAMLProviderResponse>
Request
POST https://192.168.0.0::4443/iam?Action=GetSAMLProvider&SAMLProviderArn=urn:ecs:iam::ns:saml-provider/TestProvider
Accept: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
NOTE Document is truncated in this example:
{
"ResponseMetadata": {
"RequestId": "0af9f5b8:17178fe9282:1f923:16"
},
"GetSAMLProviderResult": {
"SAMLMetadataDocument": "<EntityDescriptor ID=\"_fe ... xmlns=\"urn:oasis:names:tc:SAML:2.0:assertion\"/></IDPSSODescriptor></EntityDescriptor>",
"CreateDate": "2020-04-16T16:29:27Z",
"ValidUntil": "2120-03-23T16:29:27Z"
}
}
HTTP/1.1 200 OK
Content-Type: application/xml
NOTE: SAMLMetadataDocument is truncated in this example
<ns2:GetSAMLProviderResponse xmlns:ns2="none">
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:1f40d:a8</RequestId>
</ResponseMetadata>
<GetSAMLProviderResult>
<SAMLMetadataDocument><EntityDescriptor.................</SAMLMetadataDocument>
<CreateDate>2020-04-16T16:29:27Z</CreateDate>
<ValidUntil>2120-03-23T16:29:27Z</ValidUntil>
</GetSAMLProviderResult>
</ns2:GetSAMLProviderResponse>