Acquire Keyvault Secret within a httptrigger and Use it to Acquire Info to be output by Function-Python
问题 I have the following code which I use to acquire a secret, use secret to log into portal and download a csv table. This works ok outside a function. import pandas as pd import pandas as pd from arcgis.gis import GIS from azure.identity import DefaultAzureCredential from azure.keyvault.secrets import SecretClient credential = DefaultAzureCredential() secret_client = SecretClient(vault_url="https://xxxx-dev-vault.vault.azure.net/", credential=credential) secret = secret_client.get_secret(