joshcorr / SecretManagement.Hashicorp.Vault.KV

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

fix: json depth in Set-Secret #18

Closed velkovb closed 3 years ago

velkovb commented 3 years ago

Using multilevel json value for a secret fails because default depth for ConvertTo-Json is 2 and this is used before creating the API request body.

https://github.com/joshcorr/SecretManagement.Hashicorp.Vault.KV/issues/17

joshcorr commented 3 years ago

@velkovb Thanks for the PR! Could you switch this to go against the development branch? I can then create a Preview release and get it out to the Gallery.