Skip to content

Commit

Permalink
Merge pull request #555 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
10/14/2024 AM Publish
  • Loading branch information
Taojunshen authored Oct 14, 2024
2 parents aac6995 + 2741f20 commit bfca345
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions articles/mysql/flexible-server/how-to-create-manage-databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,38 @@ ms.topic: how-to

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

This article contains information about creating, listing, and deleting MySQL databases on Azure Database for MySQL flexible server.
This article contains information about creating, listing, and deleting MySQL databases on Azure Database for MySQL Flexible Server.

## Prerequisites
Before completing the tasks, you must have
- Created an Azure Database for MySQL flexible server instance using [Azure portal](./quickstart-create-server-portal.md) <br/> or [Azure CLI](./quickstart-create-server-cli.md).
- Created an Azure Database for MySQL Flexible Server instance using [Azure portal](./quickstart-create-server-portal.md) <br/> or [Azure CLI](./quickstart-create-server-cli.md).
- Sign in to [Azure portal](https://portal.azure.com).


## List your databases
To list all your databases on Azure Database for MySQL flexible server:
- Open the **Overview** page of your Azure Database for MySQL flexible server instance.
To list all your databases on Azure Database for MySQL Flexible Server:
- Open the **Overview** page of your Azure Database for MySQL Flexible Server instance.
- Select **Databases** from the settings on left navigation menu.

> :::image type="content" source="media/how-to-create-manage-databases/databases-view-mysql-flexible-server.png" alt-text="Screenshot showing how to list all the databases on Azure Database for MySQL flexible server.":::
> :::image type="content" source="media/how-to-create-manage-databases/databases-view-mysql-flexible-server.png" alt-text="Screenshot showing how to list all the databases on Azure Database for MySQL Flexible Server.":::
## Create a database
To create a database on Azure Database for MySQL flexible server:
To create a database on Azure Database for MySQL Flexible Server:

- Select **Databases** from the settings on left navigation menu.
- Click on **Add** to create a database. Provide the database name, charset and collation settings for this database.
- Click on **Save** to complete the task.

> :::image type="content" source="media/how-to-create-manage-databases/create-database-azure-mysql-flexible-server.png" alt-text="Screenshot showing how to create a database on Azure Database for MySQL flexible server.":::
> :::image type="content" source="media/how-to-create-manage-databases/create-database-azure-mysql-flexible-server.png" alt-text="Screenshot showing how to create a database on Azure Database for MySQL Flexible Server.":::
## Delete a database
To delete a database on Azure Database for MySQL flexible server:
To delete a database on Azure Database for MySQL Flexible Server:

- Select **Databases** from the settings on left navigation menu.
- Click on **testdatabase1** to select the database. You can select multiple databases to delete at the same time.
- Click on **Delete** to complete the task.

> :::image type="content" source="media/how-to-create-manage-databases/delete-database-on-mysql-flexible-server.png" alt-text="Screenshot showing how to delete a database on Azure Database for MySQL flexible server.":::
> :::image type="content" source="media/how-to-create-manage-databases/delete-database-on-mysql-flexible-server.png" alt-text="Screenshot showing how to delete a database on Azure Database for MySQL Flexible Server.":::
## Next steps

Expand Down
14 changes: 7 additions & 7 deletions articles/mysql/flexible-server/how-to-data-encryption-portal.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ ms.topic: how-to

[!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.
This tutorial shows you how to set up and manage data encryption for Azure Database for MySQL Flexible Server.

In this tutorial, you learn how to:

- Set data encryption for Azure Database for MySQL flexible server.
- Set data encryption for Azure Database for MySQL Flexible Server.
- Configure data encryption for restoration.
- Configure data encryption for replica servers.

> [!NOTE]
> Azure key vault access configuration now supports two types of permission models - [Azure role-based access control](/azure/role-based-access-control/overview) and [Vault access policy](/azure/key-vault/general/assign-access-policy). The tutorial describes configuring data encryption for Azure Database for MySQL flexible server using Vault access policy. However, you can choose to use Azure RBAC as permission model to grant access to Azure Key Vault. To do so, you need any built-in or custom role that has below three permissions and assign it through "role assignments" using Access control (IAM) tab in the keyvault: a) KeyVault/vaults/keys/wrap/action b) KeyVault/vaults/keys/unwrap/action c) KeyVault/vaults/keys/read. For Azure key vault managed HSM, you will also need to assign the "Managed HSM Crypto Service Encryption User" role assignment in RBAC.
> Azure key vault access configuration now supports two types of permission models - [Azure role-based access control](/azure/role-based-access-control/overview) and [Vault access policy](/azure/key-vault/general/assign-access-policy). The tutorial describes configuring data encryption for Azure Database for MySQL Flexible Server using Vault access policy. However, you can choose to use Azure RBAC as permission model to grant access to Azure Key Vault. To do so, you need any built-in or custom role that has below three permissions and assign it through "role assignments" using Access control (IAM) tab in the keyvault: a) KeyVault/vaults/keys/wrap/action b) KeyVault/vaults/keys/unwrap/action c) KeyVault/vaults/keys/read. For Azure key vault managed HSM, you will also need to assign the "Managed HSM Crypto Service Encryption User" role assignment in RBAC.
## Prerequisites

- An Azure account with an active subscription.
- 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).
## Set the proper permissions for key operations

Expand All @@ -51,7 +51,7 @@ In this tutorial, you learn how to:

To set up the customer managed key, perform the following steps.

1. In the portal, navigate to your Azure Database for MySQL flexible server instance, and then, under **Security** , select **Data encryption**.
1. In the portal, navigate to your Azure Database for MySQL Flexible Server instance, and then, under **Security** , select **Data encryption**.

:::image type="content" source="media/how-to-data-encryption-portal/3-mysql-data-encryption.jpeg" alt-text="Screenshot of the data encryption page." lightbox="media/how-to-data-encryption-portal/3-mysql-data-encryption.jpeg":::

Expand Down Expand Up @@ -83,7 +83,7 @@ To use data encryption as part of a restore operation, perform the following ste

## Use Data encryption for replica servers

After your Azure Database for MySQL flexible server instance is encrypted with a customer's managed key stored in Key Vault, any newly created copy of the server is also encrypted.
After your Azure Database for MySQL Flexible Server instance is encrypted with a customer's managed key stored in Key Vault, any newly created copy of the server is also encrypted.

1. To configuration replication, under **Settings** , select **Replication** , and then select **Add replica**.

Expand All @@ -94,7 +94,7 @@ After your Azure Database for MySQL flexible server instance is encrypted with a
:::image type="content" source="media/how-to-data-encryption-portal/9-mysql-compute-storage.jpeg" alt-text="Screenshot of the Compute + Storage page." lightbox="media/how-to-data-encryption-portal/9-mysql-compute-storage.jpeg":::

> [!IMPORTANT]
> When trying to encrypt Azure Database for MySQL flexible server with a customer managed key that already has a replica(s), we recommend configuring the replica(s) as well by adding the managed identity and key.
> When trying to encrypt Azure Database for MySQL Flexible Server with a customer managed key that already has a replica(s), we recommend configuring the replica(s) as well by adding the managed identity and key.
## Related content

Expand Down

0 comments on commit bfca345

Please sign in to comment.