View the Alias for the KSS Keystore

Returns the alias for the Keystore Service (KSS) keystore.

REST Request

GET /idaas/platform/admin/v1/keystoreservice/alias/{stripeName}/{keystoreName}/{entryType}

Parameters

The following table summarizes the GET request parameters.

Name Description Type
entryType Keystore type. Valid values include Certificate, TrustedCertificate, or SecretKey. Path
keystoreName Name of the keystore. Path
stripeName Name of the stripe. Path

Response Body

Media Types: application/json

The response body contains information about the certificate, including:

Attribute Description
"keystore n" List of keystore aliases in the stripe where n serves as an index that starts at 1 and is incremented by 1 for each additional property.

cURL Example

The following example shows how to view all certificates for an alias by submitting a GET request on the REST resource using cURL. For more information, see "cURL Access".

curl -i -X GET -u username:password http://myhost:7001/idaas/platform/admin/v1/keystoreservice/alias/myStripe/myKeystore/TrustedCertificate

Example of Response Header

The following shows an example of the response header. For more about the HTTP status codes, see "Status Codes."

HTTP/1.1 200 OK

Example of Response Body

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

{
   "keystore 1":"myAlias",
}