REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/indirect/key

GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/indirect/key

Gets indirect login public key stored in a user partition of the admin HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

partitionid

The identifier of the partition of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

The public key used for indirect login.

JSON Schema: Indirect Key

400

Unexpected error

404

HSM or partition does not exist.

Example Request

   GET 
   https://1.2.3.4:8443//api/lunasa/hsms/700088/partitions/700088016/indirect/key

Example Result

{
    "exponent": "AQAB",
    "modulus": "1QgJJEQuDhjYFyV5KB7s/19DTPik0y5mcTAxKJ/anP2vCLNhymZ+wQx9pUUtyaTMskWXbIvxR36/Coi2Qd2/AW2BZDxUwB1pKH0E8kp6wlHStXb0EmGEZz/6cMhSmJnp0rokqYkmop7HHJRDhzM7Q6yX5SHoT01LMYoHD35b9zcMGG6HAaeoKB4k74FeggObIy4W2YX0LXnc1/tKKTvQYA1lHzKSaPKKJSYVbTiEoiSeAF1+1EZCqhjU8jksw5+j0ns1QM1LUQvDPLsznxzRixBtzkJb8AVrIxKB7YWmd4MDvGTFuvreKLYry3rmHhw8uAkYLUC5S1Ub+JZRFAeV2w=="
}