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/mysql/flexible-server/tutorial-set-data-encryption-cli-mysql-flexible-server.md
+36-15Lines changed: 36 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,31 +24,41 @@ In this tutorial you'll learn how to:
24
24
25
25
- An Azure account with an active subscription.
26
26
27
-
- If you don't have an Azure subscription, create an [Azure free account](https://azure.microsoft.com/free)before you begin. With an Azure free account, you can now try Azure Database for MySQL - Flexible Server for free for 12 months. For more information, see [Try Flexible Server for free](how-to-deploy-on-azure-free-account).
27
+
- If you don't have an Azure subscription, create an [Azure free account](https://azure.microsoft.com/free)before you begin. With an Azure free account, you can now try Azure Database for MySQL - Flexible Server for free for 12 months. For more information, see [Try Flexible Server for free](how-to-deploy-on-azure-free-account.md).
28
28
29
29
- Install or upgrade Azure CLI to the latest version. See [Install Azure CLI](/cli/azure/install-azure-cli).
30
30
31
31
- Login to Azure account using [az login](/cli/azure/reference-index#az-login) command. Note the id property, which refers to Subscription ID for your Azure account.
32
32
33
-
`az login`
33
+
```azurecli
34
+
az login
35
+
```
34
36
35
37
- If you have multiple subscriptions, choose the appropriate subscription in which you want to create the server using the az account set command.
36
38
37
-
`az account set --subscription \<subscription id\>`
39
+
```azurecli
40
+
az account set --subscription \<subscription id\>
41
+
```
38
42
39
43
- In Azure Key Vault, create a key vault and a key. The key vault must have the following properties to use as a customer-managed key:
@@ -219,4 +240,4 @@ Set or change key and identity for data encryption
219
240
220
241
## Next steps
221
242
222
-
-[Data encryption with customer managed keys – Azure Database for MySQL – Flexible Server Preview](concepts-customer-managed-key-mysql-flexible-server.md)
243
+
-[Data encryption with customer managed keys – Azure Database for MySQL – Flexible Server Preview](concepts-customer-managed-key-mysql-flexible-server.md)
0 commit comments