Skip to content

Commit 6c2f44a

Browse files
Merge pull request #216423 from tamram/tamram22-1028
xtenant CMK: PS/CLI sample
2 parents 50cc494 + 77c9efc commit 6c2f44a

3 files changed

+7
-7
lines changed

articles/storage/common/customer-managed-keys-configure-cross-tenant-existing-account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: tamram
77

88
ms.service: storage
99
ms.topic: how-to
10-
ms.date: 10/14/2022
10+
ms.date: 10/28/2022
1111
ms.author: tamram
1212
ms.reviewer: ozgun
1313
ms.subservice: common
@@ -131,7 +131,7 @@ $kvUri = "<key-vault-uri>"
131131
$keyName = "<key-name>"
132132
$multiTenantAppId = "<multi-tenant-app-id>"
133133
134-
Set-AzStorageAccount -ResourceGroupName $rgName `
134+
Set-AzStorageAccount -ResourceGroupName $isvRgName `
135135
-Name $accountName `
136136
-KeyvaultEncryption `
137137
-UserAssignedIdentityId $userIdentity.Id `

articles/storage/common/customer-managed-keys-configure-cross-tenant-new-account.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: tamram
77

88
ms.service: storage
99
ms.topic: how-to
10-
ms.date: 10/14/2022
10+
ms.date: 10/28/2022
1111
ms.author: tamram
1212
ms.reviewer: ozgun
1313
ms.subservice: common
@@ -122,7 +122,7 @@ $accountName = "<account-name>"
122122
$kvUri = "<key-vault-uri>"
123123
$keyName = "<keyName>"
124124
$location = "<location>"
125-
$multiTenantAppId = "<application-id>"
125+
$multiTenantAppId = "<application-id>" # appId value from multi-tenant app
126126
127127
$userIdentity = Get-AzUserAssignedIdentity -Name <user-assigned-identity> -ResourceGroupName $rgName
128128
@@ -151,7 +151,7 @@ Remember to replace the placeholder values in brackets with your own values and
151151
accountName="<storage-account>"
152152
kvUri="<key-vault-uri>"
153153
keyName="<key-name>"
154-
multiTenantAppId="<multi-tenant-app-id>"
154+
multiTenantAppId="<multi-tenant-app-id>" # appId value from multi-tenant app
155155
156156
# Get the resource ID for the user-assigned managed identity.
157157
identityResourceId=$(az identity show --name $managedIdentity \

includes/active-directory-msi-cross-tenant-cmk-create-identities-authorize-key-vault.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: karavar
33
ms.author: vakarand
4-
ms.date: 09/01/2022
4+
ms.date: 10/28/2022
55
ms.service: active-directory
66
ms.subservice: managed-identity
77
ms.topic: include
@@ -109,7 +109,7 @@ $multiTenantApp = New-AzADApplication -DisplayName $multiTenantAppName `
109109
# Object ID for the new multi-tenant app
110110
$objectId = $multiTenantApp.Id
111111
# Application (client) ID for the multi-tenant app
112-
$appId = $multiTenantApp.AppId
112+
$multiTenantAppObjectId = $multiTenantApp.AppId
113113
```
114114

115115
#### The service provider creates a user-assigned managed identity

0 commit comments

Comments
 (0)