Skip to content

Commit

Permalink
Update Connect-HuduAPI.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Teh-STIG authored Dec 26, 2024
1 parent 7fb54de commit 70c9d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/CippExtensions/Public/Hudu/Connect-HuduAPI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function Connect-HuduAPI {
$null = Connect-AzAccount -Identity
$APIKey = (Get-AzKeyVaultSecret -VaultName $keyvaultname -Name 'Hudu' -AsPlainText)
}
# Add logic to check if we're using CloudFlare Tunnel, and if so, pull CloudFlare API Key and add as a header
# Add logic to check if we're using CloudFlare Tunnel (if Hudu.CFEnabled checkbox is checked from Extensions.json). If the checkbox is checked, pull CloudFlare ClientID and API Key and add as a header
if ($Configuration.CFEnabled) {
$CFClientID = (Get-AzKeyVaultSecret -VaultName $keyvaultname -Name 'CloudFlareClientID' -AsPlainText)
$CFAPIKey = (Get-AzKeyVaultSecret -VaultName $keyvaultname -Name 'CloudFlareAPIKey' -AsPlainText)
Expand Down

0 comments on commit 70c9d60

Please sign in to comment.