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

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

Gets all policies 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 policies associated with the HSM. The list includes unique identifiers that can be used to get more specific information.

JSON Schema: HSM Policies

400

Unexpected error

404

HSM does not exist.

Example Request

   GET 
   https://1.2.3.4:8443//api/lunasa/hsms/117290/policies

Example Result

{
    "policies": [
        {
            "id": "0",
            "name": "PIN-based authentication",
            "url": "/api/lunasa/hsms/117290/policies/0"
        },
        {
            "id": "1",
            "name": "PED-based authentication",
            "url": "/api/lunasa/hsms/117290/policies/1"
        },
        {
            "id": "6",
            "name": "Allow masking",
            "url": "/api/lunasa/hsms/117290/policies/6"
        },
        {
            "id": "7",
            "name": "Allow cloning",
            "url": "/api/lunasa/hsms/117290/policies/7"
        },
        {
            "id": "12",
            "name": "Allow non-FIPS algorithms",
            "url": "/api/lunasa/hsms/117290/policies/12"
        },
        {
            "id": "15",
            "name": "SO can reset partition PIN",
            "url": "/api/lunasa/hsms/117290/policies/15"
        },
        {
            "id": "16",
            "name": "Allow network replication",
            "url": "/api/lunasa/hsms/117290/policies/16"
        },
        {
            "id": "20",
            "name": "Allow Remote Authentication",
            "url": "/api/lunasa/hsms/117290/policies/20"
        },
        {
            "id": "21",
            "name": "Force user PIN change after set/reset",
            "url": "/api/lunasa/hsms/117290/policies/21"
        },
        {
            "id": "22",
            "name": "Allow offboard storage",
            "url": "/api/lunasa/hsms/117290/policies/22"
        },
        {
            "id": "23",
            "name": "Allow partition groups",
            "url": "/api/lunasa/hsms/117290/policies/23"
        },
        {
            "id": "25",
            "name": "Allow remote PED usage",
            "url": "/api/lunasa/hsms/117290/policies/25"
        },
        {
            "id": "26",
            "name": "Store MTK Split Externally",
            "url": "/api/lunasa/hsms/117290/policies/26"
        },
        {
            "id": "29",
            "name": "Allow Acceleration",
            "url": "/api/lunasa/hsms/117290/policies/29"
        },
        {
            "id": "30",
            "name": "Allow unmasking",
            "url": "/api/lunasa/hsms/117290/policies/30"
        },
        {
            "id": "31",
            "name": "Allow FW5 compatibility mode",
            "url": "/api/lunasa/hsms/117290/policies/31"
        },
        {
            "id": "33",
            "name": "Current maximum number of partitions",
            "url": "/api/lunasa/hsms/117290/policies/33"
        },
        {
            "id": "34",
            "name": "Allow ECIES support",
            "url": "/api/lunasa/hsms/117290/policies/34"
        },
        {
            "id": "35",
            "name": "Force Single Domain",
            "url": "/api/lunasa/hsms/117290/policies/35"
        },
        {
            "id": "36",
            "name": "Allow Unified PED Key",
            "url": "/api/lunasa/hsms/117290/policies/36"
        },
        {
            "id": "37",
            "name": "Allow MofN",
            "url": "/api/lunasa/hsms/117290/policies/37"
        },
        {
            "id": "38",
            "name": "Allow small form factor backup/restore",
            "url": "/api/lunasa/hsms/117290/policies/38"
        },
        {
            "id": "39",
            "name": "Allow Secure Trusted Channel",
            "url": "/api/lunasa/hsms/117290/policies/39"
        },
        {
            "id": "40",
            "name": "Allow decommission on tamper",
            "url": "/api/lunasa/hsms/117290/policies/40"
        },
        {
            "id": "42",
            "name": "Allow partition re-initialize",
            "url": "/api/lunasa/hsms/117290/policies/42"
        }
    ]
}

See Also

GET /api/lunasa/hsms/{hsmid}/policies/{policyid}