Enabling category groups audit and auditAll on all key vaults
I am looking at automating the process of enabling audit and audit all on all key vaults, there is a diagnostic setting in place for all the vaults, what’s left to do is enabling audit and allLogs for the vaults. I have checked Azure policies if there is a policy to see if there is a remediation plan in place that can be used to automate the process. I could not find any.
How to add new version in the existing keyvault secret with updated expiry and secret value
I need to add new version in the existing key vault secret instead of creating new secret from PowerShell. How Can I achieve it. Any help much appreciated.