Certificate Manager Private CA API, gRPC: TemplateService.Get
Статья создана
Обновлена 17 декабря 2024 г.
Retrieves specified certificate template.
gRPC request
rpc Get (GetTemplateRequest) returns (Template)
GetTemplateRequest
{
"id": "string"
}
Request message to retrieve details of a template.
Field |
Description |
id |
string Required field. ID of the template to retrieve. |
Template
{
"id": "string",
"folder_id": "string",
"name": "string",
"data": "string",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp"
}
Json or yaml template for easier certificate issuing. If used while certificate creation, certificate would take all fields from template.
Field |
Description |
id |
string ID of the template. Generated at creation time. |
folder_id |
string ID of the folder that the template belongs to. |
name |
string Name of the template. |
data |
string Json representation of template. |
created_at |
Timestamp when the template was created. |
updated_at |
Timestamp when the template was last updated. |