From 673b06ced0b338b4239e5341e36644bf1f38ca51 Mon Sep 17 00:00:00 2001 From: Steven Clark Date: Tue, 28 Jan 2025 14:57:39 -0500 Subject: [PATCH] Document new serial_number_source PKI role field --- website/content/api-docs/secret/pki/index.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/content/api-docs/secret/pki/index.mdx b/website/content/api-docs/secret/pki/index.mdx index 889438116e08..6485f40fed65 100644 --- a/website/content/api-docs/secret/pki/index.mdx +++ b/website/content/api-docs/secret/pki/index.mdx @@ -3437,6 +3437,13 @@ request is denied. certificates are stored. If true, metadata is not stored and an error is returned if the `metadata` field is specified on issuance APIs +- `serial_number_source` `(string: "json-csr")` - Specifies the source of the subject serial + number. Valid values are `json-csr` (default) or `json`. + When set to `json-csr`, the subject serial number is taken from the `serial_number` parameter + and falls back to the serial number in the CSR. When set to `json`, the subject serial number + is taken from the `serial_number` parameter but will ignore any value in the CSR. + For backwards compatibility an empty value for this field will default to the `json-csr` behavior. + #### Sample payload ```json