joshcorr / SecretManagement.Hashicorp.Vault.KV

A PowerShell SecretManagement extension for Hashicorp Vault Key Value Engine
MIT License
30 stars 10 forks source link

Error when unregistering vault [BUG] #19

Closed joshcorr closed 3 years ago

joshcorr commented 3 years ago

Error when unregistering vault

Unregister-SecretVault -Name secret
Unregister-SecretVault : A command that prompts the user failed because the host program or the command type does not
At line:1 char:1
+ Unregister-SecretVault -Name secret
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotImplemented: (:) [Unregister-SecretVault], HostException
    + FullyQualifiedErrorId : HostFunctionNotImplemented,Microsoft.PowerShell.SecretManagement.UnregisterSecretVaultCo
   mmand
joshcorr commented 3 years ago

Really actually seems like any Read-Host that was previously working is broken. More than likely because of constrained language mode.

joshcorr commented 3 years ago

Fixed in #25