Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.24 KB

key-vault-python-qs-setup.md

File metadata and controls

28 lines (18 loc) · 1.24 KB
author ms.service ms.topic ms.date ms.author
msmbaldwin
key-vault
include
09/03/2020
msmbaldwin
  1. Make sure you have an Azure account with an active subscription.

  2. Install Python 2.7+ or 3.5.3+.

  3. Install the Azure CLI.

  4. Follow the instructions on Configure authentication for local development, with which you create a local service principal and make it available to the Azure Key Vault Client for Python through environment variables.

    When running code directly on Azure, a separate service principal is not needed if the app uses managed identity.

  5. In a terminal or command prompt, create a suitable project folder, and then create and activate a Python virtual environment as described on Use Python virtual environments

  6. Install the Azure Active Directory identity library:

    pip install azure.identity