Skip to content

Azure encryption, keys & secrets security checks

Encryption at rest and in transit, key rotation, and the API keys, tokens and credentials that outlive the people who created them.

On Azure, Black Cat runs 3 checks in this area on every scan. Each one below lists its severity, how to fix it, and the compliance controls it satisfies where a control applies. See what access the Azure connector needs.

Checks (3)

severity: high Storage Key Not Rotated fix difficulty: medium #

Rotate storage account access keys that are older than 90 days

  1. Navigate to the Azure Portal and open Storage accounts
  2. Select the flagged storage account and click Access keys
  3. Click Show keys and review the Last rotated date for both key1 and key2
  4. For any key older than 90 days, click Rotate key next to it
  5. Confirm the rotation in the dialog — this invalidates the old key immediately
  6. Update all applications and connection strings that use the rotated key

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.24 SOC 2 Type II CC6.1 CIS Controls v8 CIS-03.10 NIST CSF 2.0 PR.DS-01 GDPR (SaaS Security) GDPR-32.1a HIPAA (SaaS Security) HIPAA-312.c NIS2 Directive NIS2-21.h DORA (SaaS Security) DORA-9.8

severity: high Key Vault Key No Expiry fix difficulty: easy #

Set an expiration date on all Key Vault keys to enforce key rotation

  1. Navigate to the Azure Portal and open Key vaults
  2. Select the vault containing the flagged key and click Keys
  3. Click the key name and then click the current version
  4. Click Edit expiration date
  5. Set an expiration date no more than one year from today
  6. Click Save and create a new key version before the expiration date arrives

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.24 SOC 2 Type II CC6.1 CIS Controls v8 CIS-03.10 NIST CSF 2.0 PR.DS-01 GDPR (SaaS Security) GDPR-32.1a HIPAA (SaaS Security) HIPAA-312.c NIS2 Directive NIS2-21.h DORA (SaaS Security) DORA-9.8

severity: high Key Vault Secret No Expiry fix difficulty: easy #

Set an expiration date on all Key Vault secrets to enforce secret rotation

  1. Navigate to the Azure Portal and open Key vaults
  2. Select the vault containing the flagged secret and click Secrets
  3. Click the secret name and then click the current version
  4. Click Edit expiration date
  5. Set an expiration date appropriate to the secret type (e.g. 90 or 365 days)
  6. Click Save and ensure an automated rotation or renewal process is in place

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.24 SOC 2 Type II CC6.1 CIS Controls v8 CIS-03.10 NIST CSF 2.0 PR.DS-01 GDPR (SaaS Security) GDPR-32.1a HIPAA (SaaS Security) HIPAA-312.c NIS2 Directive NIS2-21.h DORA (SaaS Security) DORA-9.8

More Azure checks

The information on this page is provided for general informational purposes and is believed to be accurate as of its most recent update. Product names, logos, and trademarks are the property of their respective owners and are used for identification purposes only; their use does not imply any affiliation with or endorsement by those owners. Descriptions of third-party applications and of compliance frameworks are based on publicly available documentation and may change over time.

See these checks run on your stack

Start a free 14-day trial — no credit card required.

Start Free Trial