Remediation
It is not possible to enable infrastructure double encryption
on an existing Azure Database for PostgreSQL server. The remediation steps detail the creation of a new Azure Database for PostgreSQL server with infrastructure double encryption
enabled.
From Azure Portalβ
- Go through the normal process of database creation.
- On step 2 titled
Additional settings
ensure thatInfrastructure double encryption enabled
ischecked
. - Acknowledge that you understand this will impact database performance.
- Finish database creation as normal.
From Azure CLIβ
az postgres server create --resource-group <resourcegroup> --name <servername> --location <location> --admin-user <adminusername> --admin-password <server_admin_password> --sku-name GP_Gen4_2 --version 11 --infrastructure-encryption Enabled