Skip to content

Commit

Permalink
Merge pull request #235 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
9/12/2024 AM Publish
  • Loading branch information
Taojunshen authored Sep 12, 2024
2 parents a43f81c + a8f20f5 commit 606cdbe
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Content contributor environment",
"customizations": {
"vscode": {
"extensions": [
"docsmsft.learnlinter",
"docsmsft.docs-authoring-pack"
]
}
}
}
14 changes: 7 additions & 7 deletions articles/mysql/flexible-server/how-to-data-encryption-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ ms.custom:

[!INCLUDE[applies-to-mysql-flexible-server](../includes/applies-to-mysql-flexible-server.md)]

This tutorial shows you how to set up and manage data encryption for Azure Database for MySQL flexible server using Azure CLI.
This tutorial shows you how to set up and manage data encryption for Azure Database for MySQL Flexible Server using Azure CLI.

In this tutorial, you learn how to:

- Create an Azure Database for MySQL flexible server instance with data encryption
- Update an existing Azure Database for MySQL flexible server instance with data encryption
- Create an Azure Database for MySQL Flexible Server instance with data encryption
- Update an existing Azure Database for MySQL Flexible Server instance with data encryption
- Using an Azure Resource Manager template to enable data encryption

## Prerequisites
Expand All @@ -32,7 +32,7 @@ In this tutorial, you learn how to:
- If you don't have an Azure subscription, create an [Azure free account](https://azure.microsoft.com/free) before you begin.

> [!NOTE]
> 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 Azure Database for MySQL flexible server for free](how-to-deploy-on-azure-free-account.md).
> 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 Azure Database for MySQL Flexible Server for free](how-to-deploy-on-azure-free-account.md).
- Install or upgrade Azure CLI to the latest version. See [Install Azure CLI](/cli/azure/install-azure-cli).

Expand Down Expand Up @@ -82,21 +82,21 @@ You can verify the above attributes of the key by using the following command:
az keyvault key show --vault-name \<key\_vault\_name\> -n \<key\_name\>
```

## Update an existing Azure Database for MySQL flexible server instance with data encryption
## Update an existing Azure Database for MySQL Flexible Server instance with data encryption

Set or change key and identity for data encryption:

```azurecli-interactive
az mysql flexible-server update --resource-group testGroup --name testserver \\ --key \<key identifier of newKey\> --identity newIdentity
```

Disable data encryption for Azure Database for MySQL flexible server:
Disable data encryption for Azure Database for MySQL Flexible Server:

```azurecli-interactive
az mysql flexible-server update --resource-group testGroup --name testserver --disable-data-encryption
```

## Create an Azure Database for MySQL flexible server instance with geo redundant backup and data encryption enabled
## Create an Azure Database for MySQL Flexible Server instance with geo redundant backup and data encryption enabled

```azurecli-interactive
az mysql flexible-server create -g testGroup -n testServer --location testLocation \\
Expand Down

0 comments on commit 606cdbe

Please sign in to comment.