REST API
4.0.0
REST API for SafeNet Network HSMs
|
Gets the indirect login response needed for the service HSM from a user partition on the admin HSM.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
The identifier of the partition of interest
Use: Required
JSON Schema:
Object type: string
The challenge needed to authenticate to the service HSM
Use: Required
JSON Schema:
Object type: string
The response to provide to the service HSM for indirect login.
JSON Schema:
type: string description: response is the authentication data to be provided for indirect login to the service HSM.
"Location" is the URL to the response and is returned in the server response. You can use "Location" to form a GET resource to obtain the response.
see GET /api/lunasa/hsms/{hsmid}/partitions/partitionid/indirect/responses/{responseid}
Unexpected error
POST https://1.2.3.4:8443/api/lunasa/hsms/700088/partitions/700088016/indirect/responses {"challenge": "AAEAAOer3y90rahjhG2OybC2srtUfhz4YY/WhVyhbbDj6f47mIfgJe90sLR+te4uk8XU3vj/rTWwJSIAEnIo5QycW7sjx1m8dTU/RJN6xZWD6Wn5HLquP/cv+g+E22XshlqSScqIvZyA8zfKr4utvLhBkEuzThsstKyHVUzqEBbzFU2zbuk10Y5xQVJKg7dL2h9RQRTqLmLazGPiP0Lf6IxznG+4v/qLNtPx+6s75SKJsDiigBlwUIXT4Zp5F3UF20O+ii6ns1Mu3dYmLsAak4OTTeumaGG7W58jxiblPNp4CWWdVhdaKxJXFsT93yLdxFViORsdfAFSI6SZzwb16fUxF0YAAQAAjsuq3EzW0bWydzlQoIgicTBpF4myHCDjnBqAKHaWvk/I2VAp0LCFxma3ER+usYYYeFAIHNufrYDjUp3b301rVT7dynvf6/Odzn6GE60q/jwFqwAVYsP5zRHvy8WcVCv0h3k1MpWkdTU/EomRFITlZMKVJUcnD0y7zzUide585CgYX6ehJ4LfkigXx4W4sjt82HWwsKCxegn9I/ALePIQqKhSuquVufhGG9BDQJ34fg3ZiMIQ28sZvAoI/S8woSI+lKuRfh9ZsEJA8owZ1pUyLEOnpM6xAnvZfJMDatZwDFs7sZKczs+N4k3sYwxNlCmJSexFZ3Haaf2V93Ms5GFIgQ=="}
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/api/lunasa/hsms/700088/partitions/700088016/indirect/responses/0', 'Content-Length': '2', 'Access-Control-Allow-Credentials': 'true'} { "response": "qlpLRuWfzCpyYkji4YguJSlpkvr9ZTq/NB5ymFPnLxc=" }