Installing the DAS-SDK

The DAS-SDK package can be installed from a PyPI repository hosted by Wapice. This requires credentials that you can get from your contact person at Wapice.

Install using pip

pip install das --index-url=https://{username}:{password}@daspypi.westeurope.cloudapp.azure.com

Install to Azure Functions

Add the index url to Function App environment variables with the name PIP_EXTRA_INDEX_URL. Use a key vault to store the url since it contains the credentials:

  • Enable managed identity for the Azure Function App to access key vault:
    • Navigate to the Function App -> Settings -> Identity -> Copy the Object ID (using System assigned identity)
    • Navigate to the Key vault -> Access control (IAM) -> Add -> Add role assignment -> Paste the Object ID here
  • Navigate to the Key vault -> Secrets -> Generate/Import -> Create a secret with the index url as the value
  • Navigate to the Function App -> Settings -> Environment variables -> Add
    Name: PIP_EXTRA_INDEX_URL
    Value: @Microsoft.KeyVault(SecretUri=https://{keyvault name}.vault.azure.net/secrets/{secret name}/)
  • Add das=={version number} to the requirements.txt file for the function project


Version: 0.2.17
Versions
0.2.20
0.2.19
0.2.18
0.2.17
0.2.16
0.2.15
0.2.14
0.2.13
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0