Professional Documents
Culture Documents
1) We can write script in power shell to get all the secrets that are about to expire in a key vault.
2) Then, we can save the list of secrets that are about to expire as a text file.
3) Then, we can send an email attached with text file.
Prerequisites:
To write powershell script inside the portal-azure shell, we need to mount storage.
We can send email using NOKIA’s smtp server and smtp port.
Shell Script:
We can use windows task scheduler to trigger this script to run in a weekly manner.