You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/how-to-setup-cross-tenant-customer-managed-keys.md
+28-24Lines changed: 28 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,32 +21,11 @@ This article walks through how to configure encryption with customer-managed key
21
21
22
22
To use the preview, you must register for the Azure Active Directory federated client identity feature in the service provider's tenant. Follow these instructions to register with Azure PowerShell or Azure CLI:
23
23
24
-
### [Azure CLI](#tab/azure-cli)
25
-
26
-
To register with Azure CLI, use the [az feature register](/cli/azure/feature#az-feature-register) command.
27
-
28
-
```azurecli
29
-
az feature register \
30
-
--name FederatedClientIdentity \
31
-
--namespace Microsoft.Storage
32
-
```
33
-
34
-
To check the status of your registration with Azure CLI, use [az feature show](/cli/azure/feature#az-feature-show).
35
-
36
-
```azurecli
37
-
az feature show \
38
-
--name FederatedClientIdentity \
39
-
--namespace Microsoft.Storage
40
-
```
41
-
42
-
After your registration is approved, you must re-register the Azure Storage resource provider. To re-register the resource provider with Azure CLI, use [az provider register](/cli/azure/provider#az-provider-register).
24
+
### [Portal](#tab/azure-portal)
43
25
44
-
```azurecli
45
-
az provider register \
46
-
--namespace 'Microsoft.Storage'
47
-
```
26
+
Not yet supported.
48
27
49
-
### [Azure PowerShell](#tab/azure-powershell)
28
+
### [PowerShell](#tab/azure-powershell)
50
29
51
30
To register with Azure PowerShell, use the [Register-AzProviderFeature](/powershell/module/az.resources/register-azproviderfeature) cmdlet.
52
31
@@ -77,6 +56,31 @@ $parameters = @{
77
56
Register-AzResourceProvider @parameters
78
57
```
79
58
59
+
### [Azure CLI](#tab/azure-cli)
60
+
61
+
To register with Azure CLI, use the [az feature register](/cli/azure/feature#az-feature-register) command.
62
+
63
+
```azurecli
64
+
az feature register \
65
+
--name FederatedClientIdentity \
66
+
--namespace Microsoft.Storage
67
+
```
68
+
69
+
To check the status of your registration with Azure CLI, use [az feature show](/cli/azure/feature#az-feature-show).
70
+
71
+
```azurecli
72
+
az feature show \
73
+
--name FederatedClientIdentity \
74
+
--namespace Microsoft.Storage
75
+
```
76
+
77
+
After your registration is approved, you must re-register the Azure Storage resource provider. To re-register the resource provider with Azure CLI, use [az provider register](/cli/azure/provider#az-provider-register).
0 commit comments