Azure Classroom Series – 13/Mar/2021

Using Azure SDK

  • Configuring Authentication in Azure SDK Refer Here
  • Lets write a sample python code to retrieve the resource groups
  • For this we need to do two steps
    • Configure Code to use Azure Credentials
    • To configure credentials we have different classes Refer Here
    • In this sample Lets use AzureCliCredentials
    • Refer Here for the changes Preview
  • Lets us write the sample code to use Azure Key Vault
  • Install a pip package azure-keyvault-secrets
  • Now Create environment variable for the Key Vault Name
$ENV:KEY_VAULT_NAME=qtkeyvault
  • Refer Here to view the changeset containing retrieving secrets from azure key vault using code
  • Refer Here for view the changeset containing retrieving jwk from azure key vault key using python code

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin