Sergey Krulikovskiy Thanks for posting your question in Microsoft Q&A. From the description above, you are looking for a solution to call some rest APIs based on credentials stored in Azure Key Vault, and send some alerts with evaluation and this has to happen periodically (like availability tests).
You can explore both Azure Functions as well as Logic Apps. Both are serverless compute service but with different use case in mind Compare Azure Functions and Azure Logic Apps.
With Azure Functions, you can use PowerShell language for implementation, and try the following:
- Create a time trigger function to run it periodically (like similar approach).
- Then retrieve secrets from Key Vault in PowerShell function and here is sample reference: https://learn.microsoft.com/en-us/azure/key-vault/secrets/quick-create-powershell (found similar tutorial online) and invoke custom rest APIs.
- Validate the results and send alerts based on your need.
Similarly, you can implement it in Logic Apps using Recurrence trigger, Azure Key Vault connector, HTTP connector, and send alerts based on the validation results.
I hope this helps in getting started and let me know if any questions.
If you found the answer to your question helpful, please take a moment to mark it as Yes
for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.