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

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

Gets the information associated with a specific partition policy.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

partitionid

The identifier of the partition of interest

Use: Required

JSON Schema:

   Object
   type: string

policyid

The identifier of the policy of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

Policy details.

JSON Schema: Partition Policy description

400

Unexpected error

404

HSM, partition or policy does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/partitions/273087011784/policies/33

Example Result

{
    "destructive": false,
    "changable": true,
    "description": "Allow RSA PKCS mechanism",
    "enabled": true,
    "id": "33",
    "value": 1
}