Closed itfranck closed 4 years ago
I am closing this issue. After some investigation, the problem lies in the Az.Keyvault implementation and not the SecretManagement module (Possibly Az.keyvault implementation predate the current version of this module or it was simply partially implemented.)
Az.Keyvault module only support
Here's the issue I created on the Azure-Powershell repository instead to encompass this. https://github.com/Azure/azure-powershell/issues/12190
Steps to reproduce
Expected behavior
Secret is set in the vault
Actual behavior
String is part of the [Microsoft.PowerShell.SecretManagement.SecretType] enum types. There is also a distrinct
-SecureStringSecret
parameter so I'd expect to be able to set my secret as a string by using the-Secret
instead of having to to a ConvertTo-SecureString -AsPlainText -Force first to be able to set it.Environment data
Module version: