Key rotation reminders should be enabled for each Storage Account

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

Enable key rotation reminders on each Storage Account by configuring a key expiration period. When keyExpirationPeriodInDays is set, Azure surfaces a reminder to rotate the account access keys before they exceed that age, reducing the window in which a leaked key remains valid.

This rule passes when the Storage Account’s key policy defines a key expiration period greater than zero.

Remediation

Set a key expiration period on the Storage Account. See Manage account access keys: Create a key expiration policy.