Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Process Create Service Provider

POST /ecs-service-provider

Creates a service provider using the specified attributes. The submitted provider element values will be validated. The required set of parameters are:

  • java_keystore/li>
  • key_alias
  • key_password
  • dns

  • Required Roles

    • SYSTEM_ADMIN


    Request Payload

    All parameters are required unless otherwise stated.

    Field Description Type Notes
    service_provider_create
    service_provider    
    java_keystore A repository of security keys and certificates String
    key_alias The unique alias used for accessing the keystore entry. String
    key_password The password used for accessing the keystore entry. String
    dns The host to be used in the entity base url. String
    unique_id The unique identifier of the keystore. String
    uuid Used in the entity Id. String
    etag The tag to be used for editing the service provider. String
    create_time The date the provider was created. String
    last_modified The date the provider was last modified. String

    Response Body

    Newly created service provider details


    Examples

    Request
    POST https://192.168.0.0::4443/ecs-service-provider
    Content-Type : application/xml
    Accept: appliction/xml
    X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
    <service_provider_create>
    
        <service_provider>
    
            <java_keystore>/u3+7QAAAAIAAAAB . . .</java_keystore>
    
            <key_password>pass123</key_password>
    
            <dns>127.0.0.1</dns>
    
            <key_alias>saml</key_alias>
    
        </service_provider>
    
    </service_provider_create>
    Response
    HTTP/1.1 200 OK
    Content-Type: application/xml
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <CreateServiceProviderResponse>
        <ResponseMetadata>
            <RequestId>0af9f5b8:17178fe9282:224de:2a</RequestId>
        </ResponseMetadata>
        <CreateServiceProviderResult>
            <service_provider>
                <create_time>2020-04-16T19:42:02Z</create_time>
                <dns>127.0.0.1</dns>
                <etag>0000000000000000</etag>
                <java_keystore>/u3+7QAAAAIAAAABAAAAAQAE.../java_keystore>
                <key_alias>saml</key_alias>
                <key_password>pass123</key_password>
                <unique_id>48eef7e9-aadc-3a01-813b-54b06abb8d80</unique_id>
                <uuid>25e0e516-a30f-49b0-bcbc-b2fb9ee96c90</uuid>
            </service_provider>
        </CreateServiceProviderResult>
    </CreateServiceProviderResponse>