REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/hsms/{hsmid}/indirect/challenges/{challengeid}

GET /api/lunasa/hsms/{hsmid}/indirect/challenges/{challengeid}

Gets from the administration partition of the admin HSM the challenge necessary for indirect login by a service HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

challengeid

The identifier of the challenge of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

201

A challenge needed to authenticate to the service HSM for indirect login.

JSON Schema:

    type:  string
    description:  challenge is the authentication data to be provided to obtain the response
                  needed for indirect login.

400

Unexpected error

404

HSM or challenge does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/indirect/challenges/1

Example Result

{
    "challenge": "AAEAAH84Pr7nvSvccf0BXZ0/bcus/ANbeT6jXmY45/yI3GbcOUe5pFC3fGpEYa/129ii7+Xkkz9Gh/fNx6wr2m2uRm0NB/c1HfxX4ytVFPvFi4ikSEJjAt3ix8bvJbnHV07o7c2FraiONOPM+HSvNHX8U00PQaUQRG2jSPFCY3hkKdRDHMVldTxaqqqtYv8k0vlXdBhhN3s4sQ1zBHCQfJ/dNvNKvQPvk+ZO8wREWXneBHqN5zM3mIzP85E4Nd4wjQTHoNaXZpZfZ8QsKtC0BFr1mqlL7c9XSZo5M85oqvAdpRvRl0NkHRsQ9ZChrFA4A//Pk45z3l0ERZO4BRJp/aVr+v0AAQAAKhU2g5CMuER5xJwqx5fFmPIQxI4yXE6UEYdlhaEdIDtIOz1Yt2CBsRlL+6oGGfjiw6YvD+ZgDlbgl7jd3p2iZddtEqXjZEGXUZQQfiAfqwEct5awlrVhVk8h7jK55/7riV7IkFc84aVJy8nznQmA7eBT2dJUwGisdM8bmqTOAPOpIv7kMejzWE60u04M/wiQWERYE/wSwahMi7//sLZs+Dp+Z2oabtMzEqKGRY4KGwPiIXFXL5tVXCinqMeoYTYJbDSHQuV2vUJJ6ZmLuHUPbUbDHh2DqrfYeSeLM1AxgAR4khCXwoY3r0/hr3VD9TblTh23IDRmBwlDm26hyHFZdw=="
}