From a7d2d8249bb294e358097503d112d26624cc8ef4 Mon Sep 17 00:00:00 2001 From: David McCanney <38220805+mccanney@users.noreply.github.com> Date: Tue, 17 Sep 2019 16:58:07 +0100 Subject: [PATCH] Update Cloudflare-Readme.md (#174) Corrected the name of CFToken and CFTokenInsecure. --- Posh-ACME/DnsPlugins/Cloudflare-Readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Posh-ACME/DnsPlugins/Cloudflare-Readme.md b/Posh-ACME/DnsPlugins/Cloudflare-Readme.md index fd5de7ee..fdf28feb 100644 --- a/Posh-ACME/DnsPlugins/Cloudflare-Readme.md +++ b/Posh-ACME/DnsPlugins/Cloudflare-Readme.md @@ -27,20 +27,20 @@ There are two choices for authentication against the Cloudflare API. The old way ## Using the Plugin -If you're using the newer API Token method, you'll use the previously retrieved token value with either `CFAuthToken` or `CFAuthTokenInsecure`. The former requires a SecureString value which can only be used on Windows OSes or any OS with PowerShell 6.2 or later. If you're using the Global API Key method, you'll need to use the `CFAuthEmail` and `CFAuthKey` parameters with the account's email address and previously retrieved Global API Key. +If you're using the newer API Token method, you'll use the previously retrieved token value with either `CFToken` or `CFTokenInsecure`. The former requires a SecureString value which can only be used on Windows OSes or any OS with PowerShell 6.2 or later. If you're using the Global API Key method, you'll need to use the `CFAuthEmail` and `CFAuthKey` parameters with the account's email address and previously retrieved Global API Key. ### API Token Secure (Windows or PS 6.2+) ```powershell $secToken = Read-Host -AsSecureString -Prompt 'API Token' -$pArgs = @{ CFAuthToken = $secToken } +$pArgs = @{ CFToken = $secToken } New-PACertificate example.com -DnsPlugin Cloudflare -PluginArgs $pArgs ``` ### API Token Insecure (Any OS) ```powershell -$pArgs = @{ CFAuthTokenInsecure = 'xxxxxxxxxx' } +$pArgs = @{ CFTokenInsecure = 'xxxxxxxxxx' } New-PACertificate example.com -DnsPlugin Cloudflare -PluginArgs $pArgs ```