01. Azure using Python SDK : Retrieve your secrets from Azure Key Vault

preview_player
Показать описание
In this video, I will show you how to access Azure Key Vault using Python SDK. Azure Key Vault is a cloud service that provides a secure store for secrets, such as keys, passwords, certificates, and other sensitive data. You can use Azure Key Vault to manage and protect your secrets, and access them from any application or service that you authorise.

Note : Azure Active Directory is now Microsoft Entra ID. Please do create your Service Principal in Microsoft Entra ID.

To access Azure Key Vault using Python SDK, you will need to install the following packages using pip install :

azure-identity: This package provides a set of credentials classes that can be used to authenticate with Azure services.
azure-keyvault-secrets: This package provides a client library for interacting with the secrets in Azure Key Vault.
You will also need to create an Azure account and a Key Vault resource in the Azure portal.

Playlist on Azure using Python SDK :
***********************************************************

Please refer the code from here :
*****************************************************

Playlist on Generative AI :
******************************************************

Chapters:
***********************
0:00 High Level Design Flow
1:14 Create Resource Group on Azure Portal
1:56 Create Keyvault on Azure Portal
4:20 Create Secrets on Azure Portal
6:02 Create Service Principal on Azure Portal
7:15 Service Principal Access to Azure Keyvault
8:34 Python code to access Azure Keyvault's key

Interested in Generative AI, Check this Udemy course on Query your custom documents using LlamaIndex :
*********************************************************************

Looking for interview guide on Kafka ?
************************************************
If you are planning for interview on real time process and looking for tech questions on Kafka and Spring Kafka, look no further and grab your copy of "75 Interview Questions on Kafka and Spring Kafka".

Рекомендации по теме
Комментарии
Автор

If you check this video in 2024 - chances are that Azure Active Directory is now listed as Microsoft Entra ID.

alexandrederae
Автор

Genio gracias, me salvaste la vida. Saludos desde Bolivia🎉

jhonnyramirezzeballos
Автор

Wow, I was waiting for this video on how to use Python in Jupyter notebook to do basic automations. I would love much if you can create video on How to update NSG Rules using Python.

rs-tarxvfz
Автор

Thanks for this video! In my case, I was need to crate an access policy because I was "Denied Access"

jorgenamour
Автор

What if the service principal has contributor access on the resource group? Will that be enough or it has to be key vault Secrets User as show in the video?

suhass
Автор

how do we create a deployable code from this since we cannot save spid and key in the code

dhirajandhere
Автор

I don't have the access to create service principal under the subscription I am in, is there any alternative way which won't require service principal credential?

raffs
Автор

makes Databricks, with these 3 together key vault and Azure Active Directory

ericksilva-ejpc
Автор

anyone else getting SSL errors on execution?

codejockey