REST API
5.0.0
REST API for SafeNet Network HSMs
|
Create a partition policy template. This resource supports sending a comma seperated value list see File I/O.
This parameter specifies the name of the template, the name is used as the unqiue identifier therefore this parameter must be unique.
Use: Required
JSON Schema:
Object type:string
This parameters specifies the description of the template.
Use: Not Required
JSON Schema:
Object type:string
This parameters specifies the location of a template. The template can be created from an existing partition policy template location see GET /api/lunasa/partitionPolicyTemplates/{partitionpolicytemplateid}. Alternatively a partition location can be given to create a template from a partition policy template in which case the location to the partition may be given see GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}
Use: Not Required
JSON Schema:
Object type:string
No Content, Success.
Unexpected error
POST https://1.2.3.4:8443/api/lunasa/partitionPolicyTemplates { "name":"myTemplateTest", "description":"myTemplateDescription", "template":"/api/lunasa/partitionPolicyTemplates/myTemplateName" } OR { "name":"myTemplateTest", "description":"myTemplateDescription", "template":"/api/lunasa/hsms/150607/partitions/1234567890" }
{ }
GET /api/lunasa/partitionPolicyTemplates/{partitionpolicytemplateid}