【问题标题】:How to access Key vault from ML OPs如何从 ML OP 访问 Key Vault
【发布时间】:2021-07-06 10:29:15
【问题描述】:

我在 Azure ML 工作区中运行了 ml 代码。使用 Azure MLops 管道通过推理集群部署 Aks 集群部署的 vnet 相同的代码。 创建密钥库是为了存储在 jupyter notebook 中访问的变量

While testing the endpoint from Postman getting "managedidentitycredential.get_token failed: managedidentitycredential authentication unavailable, no managed identity endpoint found" error.

In code, trying to access key-vault variables by the below method.
credentials = DefaultAzureCredential()
client = SecretClient(vault_url="url", credential=credentials)
access_key = client.get_secret("KEY").value

Please help, how to access key vault here? 

Thanks.

【问题讨论】:

    标签: azure azure-keyvault azure-managed-identity azureml mlops


    【解决方案1】:
    猜你喜欢
    • 2019-06-09
    • 1970-01-01
    • 2020-08-08
    • 1970-01-01
    • 2020-08-27
    • 2020-10-30
    • 1970-01-01
    • 2020-04-21
    • 2020-01-04
    相关资源
    最近更新 更多