Reputation: 35557
If I run any of the secrets vault cmdlets I get the following error:
Get-SecretInfo: Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed."
Another example:
> get-secret -Vault Secrets -Name SecretName -AsPlainText
Get-Secret: Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed." Get-Secret: Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed." Get-Secret: The secret SecretName was not found.
I'm using the latest version of Powershell
.
Has anyone encountered this before and now how to fix it or workaround it?
Upvotes: 0
Views: 101