Subject attributes
Subject attributes define the subject attributes that can be included in the certificate.
JSON structure example
"subject": {
"attributes": [
{
"type": "common_name",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "organization_name",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "organization_unit",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
}
]
}Parameters
Name | Type | Required/optional | Possible values |
|---|---|---|---|
| object | Required | Defines the subject distinguished name (DN) attributes that can be included in the issued certificate |
| Array of objects | Required | Specifies the subject attributes that can be included in the certificate subject DN |
| String | Required | Specifies the subject attribute type. Supported values include:
|
| String | Optional | Specifies whether the attribute is required or optional in the certificate subject. Supported values:
|
| String | Optional | Specifies the encoding used for the subject attribute value. Supported values:
|
| Array of strings | Required | Specifies the allowed sources for the subject attribute value. Supported values:
|