Azure / Commercial-Marketplace-SaaS-Accelerator

A reference example with sample code for developers interested publishing transactable, Software as a-Service offers in the Microsoft commercial marketplace.
MIT License
192 stars 290 forks source link

Notify me before the secrets expire. #539

Open code4clouds opened 1 year ago

code4clouds commented 1 year ago

As a SA user, I would like to have a warning/banner on the admin portal and/or an email notification a few months before my secrets expire, So, I can renew them and avoid downtime for my customers.

santhoshb-msft commented 1 year ago

Using the KV expiry https://learn.microsoft.com/en-us/javascript/api/%40azure/arm-keyvault/secretattributes?view=azure-node-latest#@azure-arm-keyvault-secretattributes-expires

try attributes.expires