The scenario we're facing is that we have several secrets that have different values in each environment. Also, in the future, we are going to have new secrets.
So, the question is what is the best way for adding secrets to the key vault?
Manually: For each secret, we need to add it manually through either the portal or Azure CLI. We need to do it manually across all environments such as dev,qa, prod. The downside is that everything is manual and we need to hand over secrets to someone to add them to the key vault.
Automated: Is there any way for automating the whole process without putting secrets in files?
Start-AzAutomationRunbookto run anyone you need at a specific time.