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

GET /api/lunasa/hsms/{hsmid}/licenses

Gets all licenses associated with the HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

A list of all licenses associated with the appliance. The list includes unique identifiers that can be used to get more specific information.

JSON Schema: Licenses

400

Unexpected error

404

HSM does not exist.

Example Request

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

Example Result

{
    "licenses": [
        {
            "url": "/api/lunasa/hsms/150607/licenses/621000026-000",
            "id": "621000026-000",
            "name": "K6 base configuration"
        },
        {
            "url": "/api/lunasa/hsms/150607/licenses/620127-000",
            "id": "620127-000",
            "name": "Elliptic curve cryptography"
        },
        {
            "url": "/api/lunasa/hsms/150607/licenses/620114-001",
            "id": "620114-001",
            "name": "Key backup via cloning protocol"
        },
        {
            "url": "/api/lunasa/hsms/150607/licenses/621000021-001",
            "id": "621000021-001",
            "name": "Performance level 15"
        },
        {
            "url": "/api/lunasa/hsms/150607/licenses/620124-000",
            "id": "620124-000",
            "name": "Maximum 20 partitions"
        },
        {
            "url": "/api/lunasa/hsms/150607/licenses/621010089-001",
            "id": "621010089-001",
            "name": "Enable remote PED capability"
        },
        {
            "url": "/api/lunasa/hsms/150607/licenses/621000099-001",
            "id": "621000099-001",
            "name": "Enable per-partition Security Officer"
        },
        {
            "url": "/api/lunasa/hsms/150607/licenses/621000079-001",
            "id": "621000079-001",
            "name": "Enable Small Form Factor Backup (destructive)"
        }
    ]
}

See Also

GET /api/lunasa/hsms/{hsmid}/licenses/{licenseid}