I have a shell script that I can run locally on my machine to see some certificate information. I now what to schedule this to run once a month so I’m deciding to either use Time Trigger in Azure Function or Automation Runbook. I’m confused on how can I run this shell script on either services or would I have to rewrite the script. I am pretty new to Azure. Example of the shell script:
echo `az keyvault certificate show --vault-name test-vault --name test-name --query attributes.expires`