Skip to content

Commit d3163ba

Browse files
committed
ROPC
1 parent 1a2dadb commit d3163ba

8 files changed

+8
-8
lines changed
51.6 KB
Loading
43.6 KB
Loading
60.7 KB
Loading
88.4 KB
Loading
17.7 KB
Loading
37.8 KB
Loading
37 KB
Loading

articles/app-service/tutorial-python-postgresql-app.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ The creation wizard generated the database connectivity string for you already a
258258
This app setting lets you connect to the Postgres database secured behind a private endpoint. However, the secret is saved directly in the App Service app, which isn't the best. You'll change this.
259259
:::column-end:::
260260
:::column:::
261-
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-1.png" alt-text="A screenshot showing how to see the value of an app setting." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-1.png":::
261+
:::image type="content" source="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-1.png" alt-text="A screenshot showing how to see the value of an app setting." lightbox="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-1.png":::
262262
:::column-end:::
263263
:::row-end:::
264264
:::row:::
@@ -270,7 +270,7 @@ The creation wizard generated the database connectivity string for you already a
270270
1. In **Region**, set it to the same location as the resource group.
271271
:::column-end:::
272272
:::column:::
273-
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-2.png" alt-text="A screenshot showing how to create a key vault." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-2.png":::
273+
:::image type="content" source="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-2.png" alt-text="A screenshot showing how to create a key vault." lightbox="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-2.png":::
274274
:::column-end:::
275275
:::row-end:::
276276
:::row:::
@@ -291,7 +291,7 @@ The creation wizard generated the database connectivity string for you already a
291291
1. Select **Review + create**, then select **Create**. Wait for the key vault deployment to finish. You should see "Your deployment is complete."
292292
:::column-end:::
293293
:::column:::
294-
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-3.png" alt-text="A screenshot showing how to secure a key vault with a private endpoint." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-3.png":::
294+
:::image type="content" source="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-3.png" alt-text="A screenshot showing how to secure a key vault with a private endpoint." lightbox="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-3.png":::
295295
:::column-end:::
296296
:::row-end:::
297297
:::row:::
@@ -300,15 +300,15 @@ The creation wizard generated the database connectivity string for you already a
300300
1. In the top search bar, type *msdocs-python-postgres*, then select the App Service resource called **msdocs-python-postgres-XYZ**.
301301
1. In the App Service page, in the left menu, select **Settings > Service Connector**. There's already a connector, which the app creation wizard created for you.
302302
1. Select checkbox next to the connector, then select **Edit**.
303-
1. In the **Basics** tab, for Flask, set **Client type** to **Python**. For Django, set the **Client type** to **Django**.
303+
1. In the **Basics** tab, under **PostgreSQL database** select the PostgreSQL database that was created.
304304
1. Select the **Authentication** tab.
305305
1. In **Password**, paste the password you copied earlier.
306306
1. Select **Store Secret in Key Vault**.
307307
1. Under **Key Vault Connection**, select **Create new**.
308308
A **Create connection** dialog is opened on top of the edit dialog.
309309
:::column-end:::
310310
:::column:::
311-
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-4.png" alt-text="A screenshot showing how to edit a service connector with a key vault connection." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-4.png":::
311+
:::image type="content" source="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-4.png" alt-text="A screenshot showing how to edit a service connector with a key vault connection." lightbox="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-4.png":::
312312
:::column-end:::
313313
:::row-end:::
314314
:::row:::
@@ -319,7 +319,7 @@ The creation wizard generated the database connectivity string for you already a
319319
1. When validation completes, select **Create**.
320320
:::column-end:::
321321
:::column:::
322-
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-5.png" alt-text="A screenshot showing how to configure a key vault service connector." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-5.png":::
322+
:::image type="content" source="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-5.png" alt-text="A screenshot showing how to configure a key vault service connector." lightbox="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-5.png":::
323323
:::column-end:::
324324
:::row-end:::
325325
:::row:::
@@ -330,7 +330,7 @@ The creation wizard generated the database connectivity string for you already a
330330
1. Select **Save**. Wait until the **Update succeeded** notification appears.
331331
:::column-end:::
332332
:::column:::
333-
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-6.png" alt-text="A screenshot showing the key vault connection selected in the defaultConnector." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-6.png":::
333+
:::image type="content" source="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-6.png" alt-text="A screenshot showing the key vault connection selected in the defaultConnector." lightbox="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-6.png":::
334334
:::column-end:::
335335
:::row-end:::
336336
:::row:::
@@ -340,7 +340,7 @@ The creation wizard generated the database connectivity string for you already a
340340
1. Next to **AZURE_POSTGRESQL_CONNECTIONSTRING**, select **Show value**. The value should be `@Microsoft.KeyVault(...)`, which means that it's a [key vault reference](app-service-key-vault-references.md) because the secret is now managed in the key vault.
341341
:::column-end:::
342342
:::column:::
343-
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-7.png" alt-text="A screenshot showing how to see the value of the MySQL environment variable in Azure." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-secure-connection-secrets-7.png":::
343+
:::image type="content" source="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-7.png" alt-text="A screenshot showing how to see the value of the MySQL environment variable in Azure." lightbox="./media/tutorial-python-postgresql-app/azure-portal-secure-connection-secrets-7.png":::
344344
:::column-end:::
345345
:::row-end:::
346346

0 commit comments

Comments
 (0)