diff --git a/scripts/commands/add-credentials.ps1 b/scripts/commands/add-credentials.ps1 index a785a2f..b5bab6d 100644 --- a/scripts/commands/add-credentials.ps1 +++ b/scripts/commands/add-credentials.ps1 @@ -8,11 +8,7 @@ param( $ErrorActionPreference = 'Stop' $root = Split-Path (Split-Path $PSScriptRoot -Parent) -Parent . (Join-Path $root 'scripts/lib/install-targets.ps1') -$selectedClient = $Client -$selectedKey = $Key . (Join-Path $root 'scripts/lib/with-credential.ps1') -$Client = $selectedClient -$Key = $selectedKey if (-not $Client) { $Client = Read-InstallClient -Client $Client } if (-not $Key) { $Key = Read-Host 'Credential key' } diff --git a/scripts/commands/remove-credentials.ps1 b/scripts/commands/remove-credentials.ps1 index 48f27de..d7a0ec2 100644 --- a/scripts/commands/remove-credentials.ps1 +++ b/scripts/commands/remove-credentials.ps1 @@ -6,11 +6,7 @@ param( $ErrorActionPreference = 'Stop' $root = Split-Path (Split-Path $PSScriptRoot -Parent) -Parent . (Join-Path $root 'scripts/lib/install-targets.ps1') -$selectedClient = $Client -$selectedKey = $Key . (Join-Path $root 'scripts/lib/with-credential.ps1') -$Client = $selectedClient -$Key = $selectedKey if (-not $Client) { $Client = Read-InstallClient -Client $Client } if (-not $Key) { $Key = Read-Host 'Credential key to remove' }