Subject attributes define the subject attributes that can be included in the certificate.
{
...
"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"
]
}
]
}
}
Name | Type | Req/Opt | Description |
---|---|---|---|
subject | object | required | Subject attributes details |
.. attributes | array of objects | required | List of attributes to include in the certificate |
.. .. type | string | required | Type of attributes to include in the certificate. See Supported subject attribute types for possible values and character limits. |
.. .. include | string | optional | Define if the subject attribute value is required or optional. Possible values:
|
.. .. encoding | string | optional | Define encoding standard for subject attribute values. Possible values:
|
.. .. allowed_source | array of strings | required | Define the allowed source of the subject attribute value. Possible values:
|