Process Get Service Provider
GET /ecs-service-provider
returns a service provider
Required Roles
Requires one of the following roles:
SYSTEM_ADMIN
SYSTEM_MONITOR
NAMESPACE_ADMIN
Response Body
Newly created service provider details
Examples
Request
GET https://192.168.0.0::4443/ecs-service-provider
Accept: appliction/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<GetServiceProviderResponse>
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:22c99:15</RequestId>
</ResponseMetadata>
<GetServiceProviderResult>
<service_provider>
<create_time>2020-04-16T19:42:02Z</create_time>
<dns>127.0.0.1</dns>
<etag>0000000000000001</etag>
<java_keystore>/u3+7QAAAAIA. . .</java_keystore>
<key_alias>saml</key_alias>
<key_password>pass123</key_password>
<last_modified>2020-04-16T19:47:05Z</last_modified>
<unique_id>48eef7e9-aadc-3a01-813b-54b06abb8d80</unique_id>
<uuid>25e0e516-a30f-49b0-bcbc-b2fb9ee96c90</uuid>
</service_provider>
</GetServiceProviderResult>
</GetServiceProviderResponse>
Request
GET https://192.168.0.0::4443/ecs-service-provider
Accept: appliction/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
{
"ResponseMetadata": {
"RequestId": "0af9f5b8:17178fe9282:231c1:b"
},
"GetServiceProviderResult": {
"service_provider": {
"dns": "127.0.0.1",
"uuid": "396dc76a-1118-4ff8-b338-c6222a4b5709",
"etag": "0000000000000000",
"java_keystore": "/u3+7QAAAAIAAAABAAAAAQA. . .",
"key_alias": "saml",
"key_password": "pass123",
"unique_id": "48eef7e9-aadc-3a01-813b-54b06abb8d80",
"create_time": "2020-04-16T20:06:05Z"
}
}
}
Request
curl -H $token -H "Content-Type: application/xml" -X GET https://$nodeIp:4443/ecs-service-provider
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<GetServiceProviderResponse>
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:22c99:15</RequestId>
</ResponseMetadata>
<GetServiceProviderResult>
<service_provider>
<create_time>2020-04-16T19:42:02Z</create_time>
<dns>127.0.0.1</dns>
<etag>0000000000000001</etag>
<java_keystore>/u3+7QAAAAIA. . .</java_keystore>
<key_alias>saml</key_alias>
<key_password>pass123</key_password>
<last_modified>2020-04-16T19:47:05Z</last_modified>
<unique_id>48eef7e9-aadc-3a01-813b-54b06abb8d80</unique_id>
<uuid>25e0e516-a30f-49b0-bcbc-b2fb9ee96c90</uuid>
</service_provider>
</GetServiceProviderResult>
</GetServiceProviderResponse>