New to Kestra?
Use blueprints to kickstart your first workflows.
Audits Azure Key Vault for certificates and secrets expiring within 30 days to prevent catastrophic production authentication outages.
This workflow executes az keyvault secret list via an Azure CLI container to audit all secrets and TLS/SSL certificates stored in a target Azure Key Vault. It parses credential expiration attributes and evaluates remaining validity against a configurable threshold (e.g., 30 days). Expired credentials cause catastrophic outages across APIs, microservices, and databases when authentication fails abruptly. When credentials nearing expiration are discovered, the workflow dispatches a structured Slack alert with details.
Key Vault Secrets Officer or Key Vault Reader role on the target vault.AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_TENANT_ID, and SLACK_WEBHOOK configured in Kestra.