Learn how to securely retrieve secrets from Azure Key Vault and fetch results from an Azure SQL database using the pyodbc library.
In this hands-on lab, you will build a Python based Azure Function (v2). It will retrieve secrets from Azure Keyvault and use them to connect and retrieve results from Azure SQL database. If you want to follow along, you will need an Azure Subscription and setup the prerequisites below:
Prerequisites
=================
Function App Setup
https://github.com/RussMaxwell/AzureP...
SQL Setup
https://github.com/RussMaxwell/AzureP...
Keyvault Setup
https://github.com/RussMaxwell/AzureP...
Local Machine Setup
https://github.com/RussMaxwell/AzureP...
Source Code - Complete
====================
https://github.com/RussMaxwell/AzureP...
Sample SQL Query to retrieve roles for a user named: funcusr
====================================================
SELECT r.name AS role_name
FROM sys.database_role_members m
JOIN sys.database_principals u ON u.principal_id = m.member_principal_id
JOIN sys.database_principals r ON r.principal_id = m.role_principal_id
WHERE u.name = 'funcusr';
Hands on Lab 2 is now available!
• Python Azure Function (v2) Hands on L...
5/19/24 - Hands on Lab 3 is now available!
• Python Azure function (v2) Hands on L...
6/19/24 - Hands on Lab4 is now available!
• Python Azure function (v2) Hands on L...
Timecodes
0:00 - Intro and Setup
2:00 - Validate the Setup
4:27 - Local Machine Setup
5:31 - Create Azure (V2) Function
9:38 - Test vanilla AZ Function runs locally
11:54 - Write code and discuss
28:52 - Run function app locally
32:05 - Deploy solution to Azure Function App
Auf dieser Seite können Sie das Online-Video Python Azure Function (v2) Hands on Lab 1 - Build a Python Azure Function (V2) deep dive. mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Russ Maxwell 09 Februar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 6,064 Mal angesehen und es wurde von 84 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!