简体   繁体   English

在Azure Functions本地开发中使用KeyVault

[英]Use KeyVault in Azure Functions local development

I am using TypeScript for Azure Functions development.我正在使用TypeScript进行 Azure 功能开发。 On production I use @Microsoft.KeyVault to read the secrets from a KeyVault.在生产环境中,我使用@Microsoft.KeyVault从 KeyVault 读取机密。 Is there a way I can make it work in local development as well?有没有办法让它在本地开发中也能发挥作用?

I am thinking there might be a way to register the VS Code instance/certificate in Azure AD and KeyVault and somehow work it out.我在想可能有一种方法可以在 Azure AD 和 KeyVault 中注册 VS Code 实例/证书并以某种方式解决。

This issue seems to have been discussed a long time ago.这个问题好像很久以前就讨论过了。 From various perspectives, the official seems not to provide a way to use key vault directly locally.从各种角度来看,官方似乎并没有提供直接在本地使用key vault的方法。

But you can still refer to some discussions on this issue但是你仍然可以参考一些关于这个问题的讨论:

在此处输入图像描述


在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在本地开发中使用 azure KeyVault - Using azure KeyVault in local development Azure负责本地开发 - Azure functions local development Azure Keyvault 本地问题 - Azure Keyvault Local Issues Azure函数JavaScript本地开发环境变量 - Azure Functions JavaScript Local Development Environment Variables 在本地环境中访问 Azure KeyVault - Accessing Azure KeyVault in Local Environment Python Azure Durable Functions: how to change the local.settings.json file to read secrets off Azure Keyvault? - Python Azure Durable Functions: how to change the local.settings.json file to read secrets off Azure Keyvault? 在开发 .NET 核心 Azure 功能时,离线使用 Azure keyvault secret - Use Azure keyvault secrets offline when developing .NET core Azure functions 带有 Spring 引导的 Keyvault MSI:如何配置 keyvault 以在本地运行时使用 Azure cli 凭据而不是托管身份? - Keyvault MSI with Spring boot : How to config keyvault to use Azure cli credentials instead of managed identity while running on local? 使用 Azure 存储模拟器进行 Dapr 本地开发 - Use Azure Storage Emulator for Dapr Local Development KeyVault 防火墙配置和 Azure Functions 使用计划 - KeyVault firewall configuration and Azure Functions consumption plan
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM