last sync: 2021-May-10 15:04:35 UTC

Azure Policy definition

HPC Cache accounts should use customer-managed key for encryption

Name HPC Cache accounts should use customer-managed key for encryption
Azure Portal
Id 970f84d8-71b6-4091-9979-ace7e3fb6dbb
Version 2.0.0
details on versioning
Category Storage
Microsoft docs
Description Manage encryption at rest of Azure HPC Cache with customer-managed keys. By default, customer data is encrypted with service-managed keys, but customer-managed keys are commonly required to meet regulatory compliance standards. Customer-managed keys enable the data to be encrypted with an Azure Key Vault key created and owned by you. You have full control and responsibility for the key lifecycle, including rotation and management.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: Audit
Allowed: (Audit, Disabled, Deny)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-03-24 14:32:48 change Major (1.0.0 > 2.0.0)
2021-03-09 14:37:41 add 970f84d8-71b6-4091-9979-ace7e3fb6dbb
Used in Initiatives none
JSON Changes

JSON
{
  "properties": {
    "displayName": "HPC Cache accounts should use customer-managed key for encryption",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Manage encryption at rest of Azure HPC Cache with customer-managed keys. By default, customer data is encrypted with service-managed keys, but customer-managed keys are commonly required to meet regulatory compliance standards. Customer-managed keys enable the data to be encrypted with an Azure Key Vault key created and owned by you. You have full control and responsibility for the key lifecycle, including rotation and management.",
    "metadata": {
      "version": "2.0.0",
      "category": "Storage"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "Audit",
          "Disabled",
          "Deny"
        ],
        "defaultValue": "Audit"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.StorageCache/caches"
          },
          {
            "anyOf": [
              {
                "field": "identity.type",
                "exists": false
              },
              {
                "field": "Microsoft.StorageCache/caches/encryptionSettings.keyEncryptionKey.keyUrl",
                "exists": false
              },
              {
                "field": "Microsoft.StorageCache/caches/encryptionSettings.keyEncryptionKey.sourceVault.Id",
                "exists": false
              }
            ]
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/970f84d8-71b6-4091-9979-ace7e3fb6dbb",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "970f84d8-71b6-4091-9979-ace7e3fb6dbb"
}