简体   繁体   English

在 Azure Function 应用程序中添加或删除主机密钥

[英]Adding or Removing a host key in Azure Function App

How we can add/remove a host key in Azure Function App?我们如何在 Azure Function App 中添加/删除主机密钥? Can we do it via code or it is possible only via Azure portal?我们可以通过代码来实现,还是只能通过 Azure 门户来实现?

You can create/delete / update or retrieve a bunch of keys or a specific key using the Key Management API .您可以使用Key Management API创建/删除/更新或检索一堆密钥或特定密钥。 As mentioned by @Gaurav in the comment, the blog has a method to do it from PowerShell .正如@Gaurav 在评论中提到的那样,该博客有一种方法可以从PowerShell做到这一点。

But in case if you are not familiar with PowerShell, you can consume the API's from here directly in whatever language you prefer.但是,如果您不熟悉 PowerShell,您可以直接从这里以您喜欢的任何语言使用 API。

Key Management API 密钥管理 API

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM