REST API
4.0.0
REST API for SafeNet Network HSMs
|
Loads the indirect login public key onto the service HSM in the administration partition.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
The modulus of the public key used for indirect login
Use: Required
JSON Schema:
Object type: string
The exponent of the public key used for indirect login
Use: Required
JSON Schema:
Object type: string
Success
JSON Schema:
id: Object type: string
see POST /api/lunasa/hsms/{hsmid}/indirect/challenges
Unexpected error
HSM does not exist.
POST https://1.2.3.4:8443/api/lunasa/hsms/154704/indirect/key {"modulus": "1QgJJEQuDhjYFyV5KB7s/19DTPik0y5mcTAxKJ/anP2vCLNhymZ+wQx9pUUtyaTMskWXbIvxR36/Coi2Qd2/AW2BZDxUwB1pKH0E8kp6wlHStXb0EmGEZz/6cMhSmJnp0rokqYkmop7HHJRDhzM7Q6yX5SHoT01LMYoHD35b9zcMGG6HAaeoKB4k74FeggObIy4W2YX0LXnc1/tKKTvQYA1lHzKSaPKKJSYVbTiEoiSeAF1+1EZCqhjU8jksw5+j0ns1QM1LUQvDPLsznxzRixBtzkJb8AVrIxKB7YWmd4MDvGTFuvreKLYry3rmHhw8uAkYLUC5S1Ub+JZRFAeV2w==", "exponent": "AQAB"}
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/api/lunasa/hsms/154704/indirect/challenges', 'Content-Length': '2', 'Access-Control-Allow-Credentials': 'true'} { }