Skip to content

Commit 5df4e22

Browse files
committed
edit pass: azure-database-for-postgresql-backup
1 parent b5ee89e commit 5df4e22

8 files changed

+15
-15
lines changed

articles/backup/backup-azure-database-postgresql-overview.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Azure Backup follows strict security guidelines from Azure. Permissions on the r
7070

7171
The Azure Backup service needs to connect to the Azure Database for PostgreSQL server while taking each backup. Although a username and password (or a connection string) that correspond to the database are used to make this connection, these credentials aren't stored with Azure Backup. Instead, the database admin needs to securely seed these credentials in [Azure Key Vault as a secret](/azure/key-vault/secrets/about-secrets).
7272

73-
The workload admin is responsible for managing and rotating credentials. Azure Backup calls for the most recent secret details from Key Vault to take the backup.
73+
The workload admin is responsible for managing and rotating credentials. Azure Backup calls for the most recent secret details from the key vault to take the backup.
7474

7575
:::image type="content" source="./media/backup-azure-database-postgresql-overview/key-vault-based-authentication-model.png" alt-text="Diagram that shows the workload or database flow.":::
7676

@@ -93,7 +93,7 @@ The workload admin is responsible for managing and rotating credentials. Azure B
9393
9494
#### Permissions needed for PostgreSQL database restore
9595

96-
Permissions for restore are similar to the ones that you need for backup. You need to [manually grant the permissions on the target Azure Database for PostgreSQL server and the corresponding key vault](#steps-for-manually-granting-access-on-the-azure-database-for-postgresql-server-and-on-key-vault). Unlike in the [configure backup](backup-azure-database-postgresql.md#configure-a-backup-on-postgresql-databases) flow, the experience to grant these permissions inline is currently not available.
96+
Permissions for restore are similar to the ones that you need for backup. You need to [manually grant the permissions on the target Azure Database for PostgreSQL server and the corresponding key vault](#steps-for-manually-granting-access-on-the-azure-database-for-postgresql-server-and-on-the-key-vault). Unlike in the [configure backup](backup-azure-database-postgresql.md#configure-a-backup-on-postgresql-databases) flow, the experience to grant these permissions inline is currently not available.
9797

9898
Ensure that the database user (corresponding to the credentials stored in the key vault) has the following restore privileges on the database:
9999

@@ -111,11 +111,11 @@ To get an automated script and related instructions to use the Microsoft Entra I
111111
> [!NOTE]
112112
> All the newly configured protection takes place with the new Key Vault authentication model only. However, all the existing backup instances with protection configured through Microsoft Entra ID-based authentication will continue to exist and have regular backups taken. To restore these backups, you need to follow the Microsoft Entra ID-based authentication.
113113
114-
## Steps for manually granting access on the Azure Database for PostgreSQL server and on Key Vault
114+
## Steps for manually granting access on the Azure Database for PostgreSQL server and on the key vault
115115

116116
To grant all the access permissions that Azure Backup needs, use the following steps.
117117

118-
### Access permissions for the Azure Database for PostgreSQL server
118+
### Access permissions on the Azure Database for PostgreSQL server
119119

120120
1. Set the Azure Backup vault's **Reader** access for the managed identity on the Azure Database for PostgreSQL server.
121121

@@ -125,14 +125,14 @@ To grant all the access permissions that Azure Backup needs, use the following s
125125

126126
:::image type="content" source="./media/backup-azure-database-postgresql-overview/network-line-of-sight-access-on-azure-postgresql-server.png" alt-text="Screenshot that shows the option to set network line-of-sight access on an Azure Database for PostgreSQL server." lightbox="./media/backup-azure-database-postgresql-overview/network-line-of-sight-access-on-azure-postgresql-server.png":::
127127

128-
### Access permissions for Key Vault (associated with the Azure Database for PostgreSQL server)
128+
### Access permissions on the key vault
129129

130-
1. Set the Azure Backup vault's **Key Vault Secrets User** access for the managed identity on Key Vault (**Get** and **List** permissions on secrets). To assign permissions, you can use role assignments or access policies. You don't need to add the permissions by using both options, because it doesn't help.
130+
1. Set the Azure Backup vault's **Key Vault Secrets User** access for the managed identity on the key vault (**Get** and **List** permissions on secrets). To assign permissions, you can use role assignments or access policies. You don't need to add the permissions by using both options, because it doesn't help.
131131

132132
- To use Azure role-based access control (Azure RBAC) authorization:
133133

134134
1. In **Access policies**, set **Permission model** to **Azure role-based access control**.
135-
1. In **Access control (IAM)**, grant the Azure Backup vault's **Key Vault Secrets User** access for the managed identity on Key Vault. Bearers of that role will be able to read secrets.
135+
1. In **Access control (IAM)**, grant the Azure Backup vault's **Key Vault Secrets User** access for the managed identity on the key vault. Bearers of that role will be able to read secrets.
136136

137137
For more information, see [Provide access to Key Vault keys, certificates, and secrets with Azure role-based access control](/azure/key-vault/general/rbac-guide?tabs=azure-cli).
138138

articles/backup/backup-azure-database-postgresql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You can configure a backup on multiple databases across multiple Azure Database
5555

5656
:::image type="content" source="./media/backup-azure-database-postgresql/enter-secret-uri-inline.png" alt-text="Screenshot that shows how to get a secret U R I." lightbox="./media/backup-azure-database-postgresql/enter-secret-uri-expanded.png":::
5757

58-
However, with this option, Azure Backup has no visibility into the key vault that you referenced. Access permissions on the key vault can't be granted inline. The backup admin, along with the PostgreSQL and/or key vault admin, needs to ensure that the backup vault's [access on the key vault is granted manually](backup-azure-database-postgresql-overview.md#access-permissions-on-the-azure-key-vault-associated-with-the-postgresql-server) outside the [configure backup](#configure-a-backup-on-postgresql-databases) flow for the backup operation to succeed.
58+
However, with this option, Azure Backup has no visibility into the key vault that you referenced. Access permissions on the key vault can't be granted inline. The backup admin, along with the PostgreSQL and/or key vault admin, needs to ensure that the backup vault's [access on the key vault is granted manually](backup-azure-database-postgresql-overview.md#access-permissions-on-the-key-vault) outside the [configure backup](#configure-a-backup-on-postgresql-databases) flow for the backup operation to succeed.
5959

6060
- **Select from key vault**: Use this option if you know the key vault and secret names. Then click **Select a key vault and secret** and enter the details.
6161

articles/backup/backup-postgresql-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ keyURI="https://testkeyvaulteus.vault.azure.net/secrets/ossdbkey"
295295

296296
A backup vault has to connect to the PostgreSQL server and then access the database via the keys present in the key vault. So, it requires access to the PostgreSQL server and the key vault. Access is granted to the backup vault's managed identity.
297297

298-
[Read about the permissions](./backup-azure-database-postgresql-overview.md#set-of-permissions-needed-for-azure-postgresql-database-backup) that you should grant to the backup vault's managed identity on the PostgreSQL server and the key vault that stores the keys to the database.
298+
[Read about the permissions](./backup-azure-database-postgresql-overview.md#permissions-needed-for-postgresql-database-backup) that you should grant to the backup vault's managed identity on the PostgreSQL server and the key vault that stores the keys to the database.
299299

300300
### Prepare the request
301301

articles/backup/backup-postgresql-ps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ $keyURI = "https://testkeyvaulteus.vault.azure.net/secrets/ossdbkey"
238238

239239
You need to connect the backup vault to the PostgreSQL server and then access the database via the keys present in the key vault. Therefore, the backup vault requires access to the PostgreSQL server and the key vault. Access is granted to the backup vault's managed identity.
240240

241-
[Read about the appropriate permissions](./backup-azure-database-postgresql-overview.md#set-of-permissions-needed-for-azure-postgresql-database-backup) that you should grant to the backup vault's managed identity on the PostgreSQL server and Azure Key Vault, where the keys to the database are stored.
241+
[Read about the appropriate permissions](./backup-azure-database-postgresql-overview.md#permissions-needed-for-postgresql-database-backup) that you should grant to the backup vault's managed identity on the PostgreSQL server and Azure Key Vault, where the keys to the database are stored.
242242

243243
### Prepare the request
244244

articles/backup/restore-azure-database-postgresql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: jsuri
1313

1414
This article explains how to restore a database to an Azure Database for PostgreSQL server that you backed up by using Azure Backup.
1515

16-
You can restore a database to any Azure Database for PostgreSQL server of a different subscription or the same subscription but within the same region of the vault, if the service has the appropriate [set of permissions](backup-azure-database-postgresql-overview.md#azure-backup-authentication-with-the-postgresql-server) on the target server.
16+
You can restore a database to any Azure Database for PostgreSQL server of a different subscription or the same subscription but within the same region of the vault, if the service has the appropriate [set of permissions](backup-azure-database-postgresql-overview.md#azure-backup-authentication-with-the-azure-database-for-postgresql-server) on the target server.
1717

1818
## Restore a PostgreSQL database
1919

@@ -41,7 +41,7 @@ You can restore a database to any Azure Database for PostgreSQL server of a diff
4141

4242
1. For **Select key vault to authenticate with target server**, select a vault that stores the credentials to connect to the target server.
4343

44-
1. Select **Review and restore** to trigger validation that checks if the service has [restore permissions on the target server](backup-azure-database-postgresql-overview.md#set-of-permissions-needed-for-azure-postgresql-database-restore). These permissions must be [granted manually](backup-azure-database-postgresql-overview.md#grant-access-on-the-azure-postgresql-server-and-key-vault-manually).
44+
1. Select **Review and restore** to trigger validation that checks if the service has [restore permissions on the target server](backup-azure-database-postgresql-overview.md#permissions-needed-for-postgresql-database-restore). These permissions must be [granted manually](backup-azure-database-postgresql-overview.md#steps-for-manually-granting-access-on-the-azure-database-for-postgresql-server-and-on-the-key-vault).
4545

4646
:::image type="content" source="./media/restore-azure-database-postgresql/restore-as-database-inline.png" alt-text="Screenshot that shows the selected option to restore as a database." lightbox="./media/restore-azure-database-postgresql/restore-as-database-expanded.png":::
4747

articles/backup/restore-postgresql-database-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The examples in this article refer to an existing backup vault named `TestBkpVau
2323

2424
A backup vault uses a managed identity to access other Azure resources. To restore from a backup, the backup vault's managed identity requires a set of permissions on the Azure Database for PostgreSQL server to which the database should be restored.
2525

26-
To assign the relevant permissions for a vault's system-assigned managed identity on the target PostgreSQL server, see the [set of permissions needed to back up PostgreSQL database](./backup-azure-database-postgresql-overview.md#set-of-permissions-needed-for-azure-postgresql-database-restore).
26+
To assign the relevant permissions for a vault's system-assigned managed identity on the target PostgreSQL server, see the [set of permissions needed to back up PostgreSQL database](./backup-azure-database-postgresql-overview.md#permissions-needed-for-postgresql-database-restore).
2727

2828
To restore the recovery point as files to a storage account, the [backup vault's system-assigned managed identity needs access on the target storage account](./restore-azure-database-postgresql.md#restore-permissions-on-the-target-storage-account).
2929

articles/backup/restore-postgresql-database-ps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $TestBkpVault = Get-AzDataProtectionBackupVault -VaultName TestBkpVault -Resourc
2727

2828
A backup vault uses a managed identity to access other Azure resources. To restore from a backup, the backup vault's managed identity requires a set of permissions on the Azure Database for PostgreSQL server to which the database should be restored.
2929

30-
To assign the relevant permissions for a vault's system-assigned managed identity on the target PostgreSQL server, see the [set of permissions needed to back up a PostgreSQL database](./backup-azure-database-postgresql-overview.md#set-of-permissions-needed-for-azure-postgresql-database-restore).
30+
To assign the relevant permissions for a vault's system-assigned managed identity on the target PostgreSQL server, see the [set of permissions needed to back up a PostgreSQL database](./backup-azure-database-postgresql-overview.md#permissions-needed-for-postgresql-database-restore).
3131

3232
To restore the recovery point as files to a storage account, the [backup vault's system-assigned managed identity needs access on the target storage account](./restore-azure-database-postgresql.md#restore-permissions-on-the-target-storage-account).
3333

articles/backup/restore-postgresql-database-use-rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The examples in this article refer to an existing backup vault named `TestBkpVau
2828

2929
A backup vault uses a managed identity to access other Azure resources. To restore from a backup, a backup vault's managed identity requires a set of permissions on the Azure Database for PostgreSQL server to which the database should be restored.
3030

31-
To assign the relevant permissions for vault's system-assigned managed identity on the target PostgreSQL server, see the [permissions needed to back up a PostgreSQL database](./backup-azure-database-postgresql-overview.md#set-of-permissions-needed-for-azure-postgresql-database-restore).
31+
To assign the relevant permissions for vault's system-assigned managed identity on the target PostgreSQL server, see the [permissions needed to back up a PostgreSQL database](./backup-azure-database-postgresql-overview.md#permissions-needed-for-postgresql-database-restore).
3232

3333
To restore the recovery point as files to a storage account, the backup vault's system-assigned managed identity needs [access on the target storage account](./restore-azure-database-postgresql.md#restore-permissions-on-the-target-storage-account).
3434

0 commit comments

Comments
 (0)