-
Notifications
You must be signed in to change notification settings - Fork 10k
[CF1] partial front matter edit #22905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,7 +52,7 @@ You can use the [Cloudflare PKI toolkit](/cloudflare-one/identity/devices/access | |
| 1. <Render | ||
| file="upload-mtls-cert" | ||
| params={{ | ||
| one: "The private key is only required if you are using this custom certificate for Gateway HTTPS inspection.", | ||
| key: "The private key is only required if you are using this custom certificate for Gateway HTTPS inspection.", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The parameter name in the Render component was changed from 'one' to 'key'. Please confirm that the Render component expects 'key' and not 'one', as this could break the UI or documentation rendering if not updated everywhere. |
||
| cert: "signing certificate", | ||
| }} | ||
| /> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,12 @@ | ||
| --- | ||
| inputParameters: param1 | ||
| params: | ||
| - cert | ||
| - key? | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The use of 'key?' in the params list is non-standard YAML. If you intend to indicate that 'key' is optional, consider documenting this in a comment or in the documentation body, rather than using a question mark in the key name. |
||
| --- | ||
|
|
||
| import { Markdown } from "~/components"; | ||
|
|
||
| Use the [Upload mTLS certificate endpoint](/api/resources/mtls_certificates/methods/create/) to upload the certificate and private key to Cloudflare. The certificate must be a {props.cert}, formatted as a single string with `\n` replacing the line breaks. {props.one} | ||
| Use the [Upload mTLS certificate endpoint](/api/resources/mtls_certificates/methods/create/) to upload the certificate and private key to Cloudflare. The certificate must be a {props.cert}, formatted as a single string with `\n` replacing the line breaks. {props.key} | ||
|
|
||
| ```sh | ||
| curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/mtls_certificates" \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parameter in the
<Render>component was changed fromonetokey. Please confirm thatkeyis the correct parameter expected by theupload-mtls-certfile, as this change could affect the rendered output or functionality.