REST API  17
REST API for Luna Network HSMs
POST /auth/login/basic

POST /auth/login/basic

Perform login using challenge response computed by the client.

Parameters

challengeResponse

The challenge for PKI authentication.

Use: Required

JSON Schema:

   Object
   type: string
   format: byte
   description: Base64-encoded data
   minLength: 4
   maxLength: 10240
   pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$

Responses

204

Success

400

FRAMEWORK_BAD_REQUEST

Returned when the input data does not conform to the required validation schema.

401

Authentication failed

Example Request

   POST
   https://1.2.3.4:8443/auth/login/basic
   {
      "challengeResponse": "cCaDejm0aafzzIGwd2cyjazZEEzTs+c0eKneHR4qK3o//dsWs57yzmOQVLiaQuiPOCCj6n6TmAeTVnUq2UA5WHhb17B9Kn2RYzwMnhJ7vVBj4k/i7bAsZsaasZzxLPKTpJY26+l0GT5/lcxI1h9AJHiuahuiAiuAIU9Agvx97PzNeXSIOs13HHz=" 
   }

Example Result

{
}