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

GET /api/lunasa/hsms/{hsmid}

Gets the information associated with a specific HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

HSM details

JSON Schema: HSM

400

Unexpected error

404

HSM does not exist.

Example Request

   GET
   https://1.2.3.4:8443/api/lunasa/hsms/154704

Example Result

{
  "loggedIn": "nobody",
  "peds": "/api/lunasa/hsms/151363/peds",
  "manuallyZeroized": False,
  "actions": "/api/lunasa/hsms/151363/actions",
  "rpvInitialized": False,
  "licenses": "/api/lunasa/hsms/151363/licenses",
  "indirect": "/api/lunasa/hsms/151363/indirect",
  "remoteLoginInitialized": False,
  "firmwareVersion": "6.24.0",
  "soLoginsLeft": 3,
  "certificate": "/api/lunasa/hsms/151363/certificate",
  "tamper": "/api/lunasa/hsms/151363/tamper"
  "firmware": "/api/lunasa/hsms/151363/firmware",
  "state": "initialized",
  "capabilities": "/api/lunasa/hsms/151363/capabilities",
  "label": "myhsm",
  "partitionsAllowed": 20,
  "fipsModeEnabled": False,
  "auditInitialized": False,
  "storageSpace": {
    "total": 16252928,
    "used": 0,
    "free": 16252928
  },
  "partitionsCreated": 0,
  "updates": "/api/lunasa/hsms/151363/updates",
  "pedPresent": True,
  "authenticationMethod": "ped",
  "partitions": "/api/lunasa/hsms/151363/partitions",
  "roles": "/api/lunasa/hsms/151363/roles",
  "counter": "/api/lunasa/hsms/151363/counter",
  "indirectLoginEnabled": False,
  "policies": "/api/lunasa/hsms/151363/policies",
  "model": "K6 Base",
  "isTransportMode" : False,
  "partNumber" : "808-000048-002"
}

See Also

GET /api/lunasa/hsms/{hsmid}/counter
GET /api/lunasa/hsms/{hsmid}/licenses
GET /api/lunasa/hsms/{hsmid}/partitions
GET /api/lunasa/hsms/{hsmid}/policies
GET /api/lunasa/hsms/{hsmid}/roles
GET /api/lunasa/hsms/{hsmid}/updates
GET /api/lunasa/hsms/{hsmid}/peds
GET /api/lunasa/hsms/{hsmid}/counter
GET /api/lunasa/hsms/{hsmid}/certificate
GET /api/lunasa/hsms/{hsmid}/actions
GET /api/lunasa/hsms/{hsmid}/firmware
GET /api/lunasa/hsms/{hsmid}/tamper