Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

Validate SSH Key Expiration

AZDO.1031HighAzure DevOpsSecurity policiesPreview 3.0

Part of Maester · Azure DevOps · Security policies · All checks

Run this check
Invoke-Maester -TestId AZDO.1031

Validation of SSH key expiration date should be enabled.

Rationale: Expired SSH keys should not be valid for authentication towards Azure DevOps.

Enable the policy to stop these requests and notifications.

  1. Sign in to your organization.
  2. Choose Organization settings.
  3. Select Policies under Security.
  4. Switch the Validate SSH key expiration button to ON.

Results: When active, Azure DevOps enforces that keys with expired expiration dates immediately become invalid for authentication.

Every attribute of this check
FieldValue
Test IDAZDO.1031
SeverityHigh
SuiteMaester
ProductAzure DevOps
FeatureSecurity policies
AreaAuthentication
Resource typeTenant
User impactMedium
Implementation costLow
MITRE ATT&CKT1552.004 Private Keys
Supports controlsnist-800-53-r5:IA-5
PowerShell testTest-AzdoValidateSshKeyExpiration
ServicesAzureDevOps
Learn morehttps://learn.microsoft.com/azure/devops/organizations/accounts/change-application-access-policies?view=azure-devops#ssh-key-policies