-
Notifications
You must be signed in to change notification settings - Fork 2
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
Uai ws kv #1
base: master
Are you sure you want to change the base?
Uai ws kv #1
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
"tier": "Basic" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
"type": "SystemAssigned, UserAssigned" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. BTW, you are supposed to do the change in the new version 2021-01-01 |
||
}, | ||
"properties": { | ||
"friendlyName": "HelloName", | ||
|
@@ -22,6 +22,9 @@ | |
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", | ||
"encryption": { | ||
"status": "Enabled", | ||
"identity": { | ||
"userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" | ||
}, | ||
"keyVaultProperties": { | ||
"keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", | ||
"keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", | ||
|
@@ -53,7 +56,7 @@ | |
"identity": { | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"tenantId": "00000000-1111-2222-3333-444444444444", | ||
"type": "SystemAssigned" | ||
"type": "SystemAssigned, UserAssigned" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here, no space after comma |
||
}, | ||
"sku": { | ||
"name": "Basic", | ||
|
@@ -70,6 +73,9 @@ | |
"description": "test description", | ||
"encryption": { | ||
"status": "Enabled", | ||
"identity": { | ||
"userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" | ||
}, | ||
"keyVaultProperties": { | ||
"keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", | ||
"keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", | ||
|
@@ -113,6 +119,9 @@ | |
"description": "test description", | ||
"encryption": { | ||
"status": "Enabled", | ||
"identity": { | ||
"userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" | ||
}, | ||
"keyVaultProperties": { | ||
"keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", | ||
"keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4218,13 +4218,18 @@ | |
"modelAsString": true | ||
} | ||
}, | ||
"identity": { | ||
"$ref": "#/definitions/IdentityForCmk", | ||
"description": "The identity that will be used to access the key vault for encryption at rest." | ||
}, | ||
"keyVaultProperties": { | ||
"$ref": "#/definitions/KeyVaultProperties", | ||
"description": "Customer Key vault properties." | ||
} | ||
}, | ||
"required": [ | ||
"status", | ||
"identity", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought identity is optional? |
||
"keyVaultProperties" | ||
], | ||
"type": "object" | ||
|
@@ -4250,6 +4255,19 @@ | |
], | ||
"type": "object" | ||
}, | ||
"IdentityForCmk": { | ||
"description": "Identity that will be used to access key vault for encryption at rest", | ||
"type": "object", | ||
"properties": { | ||
"userAssignedIdentity": { | ||
"description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"userAssignedIdentity" | ||
] | ||
}, | ||
"LinkedServiceResponse": { | ||
"description": "Linked service.", | ||
"type": "object", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no space after comma