REST API  5.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/partitionPolicyTemplates/{partitionpolicytemplateid}/policies/{policyid}

GET /api/lunasa/partitionPolicyTemplates/{partitionpolicytemplateid}/policies/{policyid}

Get information about a specific policy.

Parameters

partitionpolicytemplateid

Specifies the partition policy template to access.

Use: Required

JSON Schema:

   Object
   type: string

policyid

Specifies the policy id to access within the partition policy template.

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

Information about the specific policy.

JSON Schema: Partition Policy Template Policy

400

Unexpected error

404

Partition policy template or policy doesn't exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/partitionPolicyTemplates/myTemplateName/policies/0

Example Result

{
    "description": "Allow private key cloning",
    "offToOnDestructive": true,
    "onToOffDestructive": false,
    "value": 1
}

See Also

PUT /api/lunasa/partitionPolicyTemplates/{partitionpolicytemplateid}/policies/{policyid}
PATCH /api/lunasa/partitionPolicyTemplates/{partitionpolicytemplateid}/policies/{policyid}