GET Specified Document Trusted Issuer and Distinguished Name Lists Method

Use the GET method to view a trusted issuer and its distinguished name (DN) lists based on the document name provided.

REST Request

GET /idaas/webservice/admin/v1/trust/issuers/{documentName}

Parameters

The following table summarizes the GET request parameters.

Name Description Type
documentName Name of document for which you want to view issuer and DN lists. Path

Response Body

Media Types: application/json

The response body contains information about the trusted issuer and DN lists, including:

Attribute Description
"dn" List of DN values to be added to the trusted issuer.
"issuer" Groups information about a trusted issuer.
"-name" Name of the trusted issuer.
"jwt-trusted-dns" Groups information about JSON Web Token (JWT) trusted issuers.
"saml-hok-trusted-dns" Groups information about SAML holder-of-key trusted issuers.
"saml-sv-trusted-dns" Groups information about SAML sender vouches trusted issuers.
"saml-trusted-dns" Groups the DN lists.

cURL Example

The following example shows how to view a trusted issuer and its DN lists by submitting a GET request on the REST resource using cURL.

curl -i -X GET -u username:password http://myhost:7001/idaas/platform/admin/v1/trust/issuers/mydocument

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK

Example of Response Body

The following shows an example of the response body in JSON format.

{ 
    "saml-trusted-dns": 
    { 
         "saml-hok-trusted-dns": 
         { 
             "issuer": [ 
             { 
                 "-name": "www.oracle.com", 
                 "dn": [ "wls1", ]
             } 
             ] 
         }, 
        "saml-sv-trusted-dns": 
        { 
            "issuer": [ 
                { 
                    "-name": "www.oracle.com", 
                    "dn": [ "wls2", ] 
                } 
           ] 
        }, 
        "jwt-trusted-issuers": 
        { 
            "issuer": [ 
            { 
                "-name": "www.oracle.com", 
                "dn": [ "CN=orakey, OU=Orakey,O=Oracle, C=US", ] 
            }
            ] 
        } 
    } 
}