REST API  4.0.0
REST API for SafeNet Network HSMs
POST /auth/login/basic

POST /auth/login/basic

Perform login using challenge response computed by the client.

Parameters

username

A registered client of the REST API

Use: Optional

JSON Schema:

   Object
   type: string

password

The password credentials for the registered client

Use: Optional

JSON Schema:

   Object
   type: string

challengeResponse

The challenge for PKI authentication

Use: Optional

JSON Schema:

   Object
   type: string

Responses

204

Success

400

Unexpected error

401

Authentication failed

Example Request (username and password)

   POST
   https://1.2.3.4:8443/auth/login/basic
   { "username": "admin", "password": "myPassword" }

Example Request (challengeResponse)

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

Example Result

{
}