api-docs/pki: common_name is no longer required. (#20403)

This commit is contained in:
Ben Ash
2023-04-27 16:11:49 -04:00
committed by GitHub
parent 1072c61e08
commit 910559b03c

View File

@@ -242,11 +242,13 @@ It is suggested to limit access to the path-overridden issue endpoint (on
~> Note: This parameter is not present on the `/pki/issue/:name` path and ~> Note: This parameter is not present on the `/pki/issue/:name` path and
takes its value from the role's `issuer_ref` field. takes its value from the role's `issuer_ref` field.
- `common_name` `(string: <required>)` - Specifies the requested CN for the - `common_name` `(string: "")` - Specifies the requested CN for the
certificate. If the CN is allowed by role policy, it will be issued. If more certificate. If the CN is allowed by role policy, it will be issued. If more
than one `common_name` is desired, specify the alternative names in the than one `common_name` is desired, specify the alternative names in the
`alt_names` list. `alt_names` list.
~> Note: A value for `common_name` is required when [require_cn](#require_cn) is set to `true`
- `alt_names` `(string: "")` - Specifies requested Subject Alternative Names, in - `alt_names` `(string: "")` - Specifies requested Subject Alternative Names, in
a comma-delimited list. These can be host names or email addresses; they will a comma-delimited list. These can be host names or email addresses; they will
be parsed into their respective fields. If any requested names do not match be parsed into their respective fields. If any requested names do not match