az keyvault secret set does not function with values including ')'
az keyvault secret set does not work with values that contain ')',
IE az keyvault secret set --vault-name myvaultname --name mysecretname --value '123)*+0323'
Bug Description '123)*+0323' was unexpected at this time occurs with any value containing characters that are not 'standard'. The secret value can be set in the GUI on the website, but the CLI does not allow the same secret values to be set. To Reproduce This bug is reproduced using the standard az keyvault secret set and happens with ", ', or no quotations at all. Expected behavior It should set the password in the keyvault as expected
Environment summary MSI/2.36.0 * / Windows 10.0.19044 Build 19044 / Powershell 5
Additional context I have had this issue in the past with weird secret values, seems to be there needs to be a string literal specification
keyvault
Hi, @Pieeer1
You can try az keyvault secret set --vault-name myvaultname --name mysecretname --value '123")"*+0323'
I have similar issue if value contains "^".