File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 117
117
items :
118
118
- name : Cluster operations
119
119
items :
120
- - name : Create an AKS cluster
121
- href : /cli/azure/aks#az-aks-create
122
- maintainContext : true
123
120
- name : Scale an AKS cluster
124
121
href : scale-cluster.md
125
122
- name : Upgrade an AKS cluster
126
123
href : upgrade-cluster.md
127
124
- name : Process node OS updates
128
125
href : node-updates-kured.md
129
- - name : Delete an AKS cluster
130
- href : /cli/azure/aks#az-aks-delete
131
- maintainContext : true
132
126
- name : Integrate ACR with an AKS cluster
133
127
href : cluster-container-registry-integration.md
134
128
- name : Create virtual nodes
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: Learn how to configure customer-managed keys for your Azure Cosmos
4
4
author : ThomasWeiss
5
5
ms.service : cosmos-db
6
6
ms.topic : conceptual
7
- ms.date : 01/14 /2020
7
+ ms.date : 03/12 /2020
8
8
ms.author : thweiss
9
9
ROBOTS : noindex, nofollow
10
10
---
@@ -184,6 +184,22 @@ New-AzResourceGroupDeployment `
184
184
-keyVaultKeyUri $keyVaultKeyUri
185
185
```
186
186
187
+ ### Using the Azure CLI
188
+
189
+ When you create a new Azure Cosmos account through the Azure CLI, pass the URI of the Azure Key Vault key that you copied earlier under the ** --key-uri** parameter.
190
+
191
+ ``` azurecli-interactive
192
+ resourceGroupName='myResourceGroup'
193
+ accountName='mycosmosaccount'
194
+ keyVaultKeyUri = 'https://<my-vault>.vault.azure.net/keys/<my-key>'
195
+
196
+ az cosmosdb create \
197
+ -n $accountName \
198
+ -g $resourceGroupName \
199
+ --locations regionName='West US 2' failoverPriority=0 isZoneRedundant=False \
200
+ --key-uri $keyVaultKeyUri
201
+ ```
202
+
187
203
## Frequently asked questions
188
204
189
205
### Is there any additional charge for using customer-managed keys?
You can’t perform that action at this time.
0 commit comments