Skip to content

Commit 397b42e

Browse files
authored
[Hub Generated] Review request for Microsoft.Devices to add version preview/2020-07-10-preview (#10574)
* Add Encryption related properties to IoT hub description. Needed for exposing CMK aliases * Add Missing Descriptions
1 parent a32b626 commit 397b42e

File tree

1 file changed

+28
-0
lines changed
  • specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview

1 file changed

+28
-0
lines changed

specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,6 +2376,10 @@
23762376
"modelAsString": true
23772377
}
23782378
},
2379+
"encryption": {
2380+
"description": "The encryption properties for the IoT hub.",
2381+
"$ref": "#/definitions/EncryptionPropertiesDescription"
2382+
},
23792383
"locations": {
23802384
"description": "Primary and secondary location for iot hub",
23812385
"readOnly": true,
@@ -4149,6 +4153,30 @@
41494153
}
41504154
}
41514155
}
4156+
},
4157+
"EncryptionPropertiesDescription": {
4158+
"description": "The encryption properties for the IoT hub.",
4159+
"type": "object",
4160+
"properties": {
4161+
"keySource": {
4162+
"description": "The source of the key.",
4163+
"type": "string"
4164+
},
4165+
"keyVaultProperties": {
4166+
"description": "The properties of the KeyVault key.",
4167+
"$ref": "#/definitions/KeyVaultKeyProperties"
4168+
}
4169+
}
4170+
},
4171+
"KeyVaultKeyProperties": {
4172+
"description": "The properties of the KeyVault key.",
4173+
"type": "object",
4174+
"properties": {
4175+
"keyIdentifier": {
4176+
"type": "string",
4177+
"description": "The identifier of the key."
4178+
}
4179+
}
41524180
}
41534181
},
41544182
"parameters": {

0 commit comments

Comments
 (0)