Skip to content

๐Ÿ”‘ Checks for expiring Entra ID service principal secrets

License

Notifications You must be signed in to change notification settings

L480/check-entra-id-sp-expiration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

check-entra-id-sp-expiration

GitHub Actions Workflow Status

Checks for expiring Entra ID service principal secrets.

The GitHub Actions workflow fails if secrets are found that are about to expire (by default within the next 60 days).

Setup

  1. Create a new repository from this template.
  2. Create an Entra ID service principal with Application.Read.All Graph API permissions.
  3. Create Entra ID federated credentials for your service principal and use the "GitHub Actions deploying Azure resources" scenario.
  4. Add AZURE_CLIENT_ID and AZURE_TENANT_ID as repository secrets.