Metadata V2
Metadata V2
The Metadata Metadata provides information about a piece of data. It is used to summarize basic information about data, which can make working with the data easier. In the context of Keyfactor Command, the certificate metadata feature allows you to create custom metadata fields that allow you to tag certificates with tracking information about certificates./2/… calls all have a common request format and set of response codes. The request body is always a JSON-formatted string containing a set of fields used to identify the certificate the operation is to be performed on and a list of key-value pairs defining the metadata fields of interest. In the case of the Set method, the values to which each field should be set must also be provided.
Table 712: POST Metadata/2/* Request Body
Parameter Name |
Parameter Value |
---|---|
Key |
The key value can either be "Thumbprint" or "Serial" to identify the certificate. If you choose serial, you must include both the SerialNumber and the IssuerDN fields. |
SerialNumber |
The serial number of the certificate. Required only if Key is set to "Serial". |
IssuerDN |
The issuer of the certificate. Required only if Key is set to "Serial". |
Thumbprint |
The thumbprint of the certificate. Required only if Key is set to "Thumbprint". |
metadatalist |
Metadata field/value entries in one of the following forms:
|