Skip to content

Commit 749c1e4

Browse files
committed
Updated tab descriptions and order
1 parent 47b813b commit 749c1e4

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

articles/cosmos-db/how-to-setup-cross-tenant-customer-managed-keys.md

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,11 @@ This article walks through how to configure encryption with customer-managed key
2121

2222
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:
2323

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)
4325

44-
```azurecli
45-
az provider register \
46-
--namespace 'Microsoft.Storage'
47-
```
26+
Not yet supported.
4827

49-
### [Azure PowerShell](#tab/azure-powershell)
28+
### [PowerShell](#tab/azure-powershell)
5029

5130
To register with Azure PowerShell, use the [Register-AzProviderFeature](/powershell/module/az.resources/register-azproviderfeature) cmdlet.
5231

@@ -77,6 +56,31 @@ $parameters = @{
7756
Register-AzResourceProvider @parameters
7857
```
7958

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).
78+
79+
```azurecli
80+
az provider register \
81+
--namespace 'Microsoft.Storage'
82+
```
83+
8084
---
8185

8286
> [!IMPORTANT]

0 commit comments

Comments
 (0)