Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Create SAML Provider

POST CreateSAMLProvider

Creates an IAM resource that describes an identity provider (IdP) that supports SAML 2.0.


Query Parameters

SamlProviderNameThe name of the provider to create.
SamlProviderMetaDocAn XML document generated by an identity provider (IdP) that supports SAML 2.0. The document must be generated from Organization's Identity Management software.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

No Response Body


Examples

Request
Note: SAML Provider metadata document must be url encoded to use in POST REST API  
      Example document is truncated.
POST https://192.168.0.0::4443/iam?Action=CreateSAMLProvider&Name=TestProvider2&SAMLMetadataDocument=%3C%21--%20%7E%20Copyright%20%28c%29%202019%20Dell%20Inc.%20or%20its%20subsidiaries.%20All%20rights%20reserved....

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

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:CreateSAMLProviderResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:171648dacb1:1bce7:16</RequestId>
    </ResponseMetadata>
    <CreateSAMLProviderResult>
        <SAMLProviderArn>urn:ecs:iam::ns:saml-provider/TestProvider2</SAMLProviderArn>
    </CreateSAMLProviderResult>
</ns2:CreateSAMLProviderResponse>