PSRule.Rules.Azure icon indicating copy to clipboard operation
PSRule.Rules.Azure copied to clipboard

[RULE] Disable local auth for storage accounts

Open BernieWhite opened this issue 1 year ago • 0 comments

Existing rule

No response

Suggested rule

Storage accounts allow disabling local accounts which disables both access keys and SAS tokens.

This is configured by setting the allowSharedKeyAccess property to false.

Access keys allow depersonalized access to a Storage Account using a shared secret.

Pillar

None

Additional context

Similar rules: https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.Cosmos.DisableLocalAuth/

  • https://learn.microsoft.com/en-gb/azure/storage/common/shared-key-authorization-prevent

BernieWhite avatar Oct 14 '24 04:10 BernieWhite