Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HDInsight] Support encryption in transit feature: #9894

Merged
merged 1 commit into from
Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
},
"Create cluster with custom network settings": {
"$ref": "./examples/CreateHDInsightClusterWithCustomNetworkSettings.json"
},
"Create cluster with encryption in transit": {
"$ref": "./examples/CreateHDInsightClusterWithEncryptionInTransit.json"
}
},
"parameters": [
Expand Down Expand Up @@ -1011,6 +1014,10 @@
"$ref": "#/definitions/DiskEncryptionProperties",
"description": "The disk encryption properties."
},
"encryptionInTransitProperties": {
"$ref": "#/definitions/EncryptionInTransitProperties",
"description": "The encryption-in-transit properties."
},
"minSupportedTlsVersion": {
"type": "string",
"description": "The minimal supported tls version."
Expand Down Expand Up @@ -1195,6 +1202,10 @@
"$ref": "#/definitions/DiskEncryptionProperties",
"description": "The disk encryption properties."
},
"encryptionInTransitProperties": {
"$ref": "#/definitions/EncryptionInTransitProperties",
"description": "The encryption-in-transit properties."
},
"minSupportedTlsVersion": {
"type": "string",
"description": "The minimal supported tls version."
Expand Down Expand Up @@ -1507,6 +1518,21 @@
"msiResourceId": {
"type": "string",
"description": "Resource ID of Managed Identity that is used to access the key vault."
},
"encryptionAtHost": {
"type": "boolean",
"default": false,
"description": "Indicates whether or not resource disk encryption is enabled."
}
}
},
"EncryptionInTransitProperties": {
"description": "The encryption-in-transit properties.",
"properties": {
"isEncryptionInTransitEnabled": {
"type": "boolean",
"default": false,
"description": "Indicates whether or not inter cluster node communication is encrypted in transit."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"parameters": {
"clusterName": "cluster1",
"resourceGroupName": "rg1",
"api-version": "2015-03-01-preview",
"subscriptionId": "subid",
"parameters": {
"properties": {
"clusterVersion": "3.6",
"osType": "Linux",
"tier": "Standard",
"clusterDefinition": {
"kind": "Hadoop",
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": true,
"restAuthCredential.username": "admin",
"restAuthCredential.password": "**********"
}
}
},
"computeProfile": {
"roles": [
{
"name": "headnode",
"targetInstanceCount": 2,
"hardwareProfile": {
"vmSize": "Large"
},
"osProfile": {
"linuxOperatingSystemProfile": {
"username": "sshuser",
"password": "**********"
}
}
},
{
"name": "workernode",
"targetInstanceCount": 3,
"hardwareProfile": {
"vmSize": "Large"
},
"osProfile": {
"linuxOperatingSystemProfile": {
"username": "sshuser",
"password": "**********"
}
}
},
{
"name": "zookeepernode",
"targetInstanceCount": 3,
"hardwareProfile": {
"vmSize": "Small"
},
"osProfile": {
"linuxOperatingSystemProfile": {
"username": "sshuser",
"password": "**********"
}
}
}
]
},
"storageProfile": {
"storageaccounts": [
{
"name": "mystorage.blob.core.windows.net",
"isDefault": true,
"container": "default8525",
"key": "storagekey"
}
]
},
"encryptionInTransitProperties": {
"isEncryptionInTransitEnabled": true
}
}
}
},
"responses": {
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
"name": "cluster1",
"type": "Microsoft.HDInsight/clusters",
"location": "South Central US",
"etag": "3b76ce3d-892c-4036-9d8b-8ade18ba7a4b",
"tags": null,
"properties": {
"clusterVersion": "3.6.1000.67",
"osType": "Linux",
"clusterDefinition": {
"blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2001080246.json",
"kind": "Hadoop",
"componentVersion": {
"Hadoop": "2.7"
}
},
"computeProfile": {
"roles": [
{
"name": "headnode",
"targetInstanceCount": 2,
"hardwareProfile": {
"vmSize": "standard_a4_v2"
},
"osProfile": {
"linuxOperatingSystemProfile": {
"username": "sshuser"
}
}
},
{
"name": "workernode",
"targetInstanceCount": 3,
"hardwareProfile": {
"vmSize": "standard_a4_v2"
},
"osProfile": {
"linuxOperatingSystemProfile": {
"username": "sshuser"
}
}
},
{
"name": "zookeepernode",
"targetInstanceCount": 3,
"hardwareProfile": {
"vmSize": "standard_a2_v2"
},
"osProfile": {
"linuxOperatingSystemProfile": {
"username": "sshuser"
}
}
}
]
},
"provisioningState": "Succeeded",
"clusterState": "Running",
"createdDate": "2020-01-10T08:36:39.153",
"quotaInfo": {
"coresUsed": 20
},
"connectivityEndpoints": [
{
"name": "SSH",
"protocol": "TCP",
"location": "cluster1-ssh.azurehdinsight.net",
"port": 22
},
{
"name": "HTTPS",
"protocol": "TCP",
"location": "cluster1.azurehdinsight.net",
"port": 443
}
],
"tier": "Standard",
"encryptionInTransitProperties": {
"isEncryptionInTransitEnabled": true
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
},
"Create cluster with custom network settings": {
"$ref": "./examples/CreateHDInsightClusterWithCustomNetworkSettings.json"
},
"Create cluster with encryption in transit": {
"$ref": "./examples/CreateHDInsightClusterWithEncryptionInTransit.json"
}
},
"parameters": [
Expand Down Expand Up @@ -1011,6 +1014,10 @@
"$ref": "#/definitions/DiskEncryptionProperties",
"description": "The disk encryption properties."
},
"encryptionInTransitProperties": {
"$ref": "#/definitions/EncryptionInTransitProperties",
"description": "The encryption-in-transit properties."
},
"minSupportedTlsVersion": {
"type": "string",
"description": "The minimal supported tls version."
Expand Down Expand Up @@ -1195,6 +1202,10 @@
"$ref": "#/definitions/DiskEncryptionProperties",
"description": "The disk encryption properties."
},
"encryptionInTransitProperties": {
"$ref": "#/definitions/EncryptionInTransitProperties",
"description": "The encryption-in-transit properties."
},
"minSupportedTlsVersion": {
"type": "string",
"description": "The minimal supported tls version."
Expand Down Expand Up @@ -1507,6 +1518,21 @@
"msiResourceId": {
"type": "string",
"description": "Resource ID of Managed Identity that is used to access the key vault."
},
"encryptionAtHost": {
"type": "boolean",
"default": false,
"description": "Indicates whether or not resource disk encryption is enabled."
}
}
},
"EncryptionInTransitProperties": {
"description": "The encryption-in-transit properties.",
"properties": {
"isEncryptionInTransitEnabled": {
"type": "boolean",
"default": false,
"description": "Indicates whether or not inter cluster node communication is encrypted in transit."
}
}
},
Expand Down
Loading