Keystore (GET)

Retrieves keystore properties for a deployed keystore of a runtime.

Roles

Users in the following roles are authorized to perform this operation:

  • mfpadmin
  • mfpdeployer
  • mfpmonitor
  • mfpoperator

Method

GET

Path

/management-apis/2.0/runtimes/runtime-name/keystore

Example

https://www.example.com/mfpadmin/management-apis/2.0/runtimes/myruntime/keystore

Path Parameters

runtime-name
The name of the runtime. This is the context root of the runtime web application, without the leading slash.

Produces

application/json, application/xml, text/xml

Response

The keystore properties as JSON code.

JSON Example

{
  "keystore.password" : "password",
  "keystore.type" : jks,
  "productVersion" : "8.0",
}

XML Example

<?xml version="1.0" encoding="UTF-8"?>
<runtime
  keystore.password="password"
  keystore.type="jks"
  productVersion="8.0"/>

Response Properties

The response has the following properties:

key.alias
The alias of the entry where the private key and certificate are stored, in the keystore.
key.alias.password
The password to the alias in the keystore.
keystore.password
The password to the keystore.
keystore.type
The type of the keystore. Valid values are jks or pkcs12..
productVersion
The exact product version.

Errors

403
The user is not authorized to call this service.
404
The resource is not found.
500
An internal error occurred.