Subject
Defines the fields that are included as the subject distinguished name in the certificate.
Example JSON
"subject":
{
"attributes":
[
{
"type":"common_name",
"include":"yes"
},
{
"type":"organization_name"
},
{
"type":"organization_unit",
"include":"optional".
"allowed_source":
[
"fixed_value",
"user_supplied"
]
},
{
"type":"country",
"include":"optional"
}
]
}Parameters
Name | Type | Req/Opt | Description |
|---|---|---|---|
subject | object | required | Certificate subject details. |
attributes | array of objects | required | Defines attributes allowed or required in the certificate. |
type | string | required | Indicates type of subject DN field. Can be a predefined value or a custom OID:
|
include | string | optional | Indicates if the subject attribute type must be included in the certificate. Possible values:
|
encoding | string | optional | The type of ASN.1 encoding to use. Possible values:
|
allowed_source | array of strings | optional | Indicates the allowed source types for the values. Allowed sources can be one or more of these inputs:
|