azure - 如何在没有门户的情况下获取函数URL

标签 azure azure-functions

根据我之前关于“功能未在门户中显示”的问题 ( Compiled function not showing in portal ),我现在面临的问题是,我无法使用门户来获取“功能 URL”和功能键进行授权。 有没有办法在不访问门户的情况下获取功能 key ?

我知道通过 KUDU 我可以使用 key 读取 JSON 文件,但这些文件已加密,我无法弄清楚如何解密它们。

干杯 大卫

最佳答案

尝试以下 ARM API 来获取 URL 和 key :

post /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/sites/{functionapp}/functions/MyFunction/listsecrets?api-version=2015-08-01

另请参阅 PowerShell 等效项 here .

关于azure - 如何在没有门户的情况下获取函数URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42939994/

相关文章:

Azure 门户 : How to find today's visitors count of my Azure web app?

azure - 如何使用 C# 将 AppSettings.json 转换为高级 Azure 设置?

c# - Azure功能:我无法选择消费计划

azure - 函数运行时无法启动。 Microsoft.Azure.ServiceBus : Value for the connection string parameter name '@Microsoft. KeyVault

Azure Functions v2 从 .Net Standard 更改为 .Net Core

node.js - 从 Azure Function (Node.JS) 设置项目的 TimeToLive

javascript - 具有认知语音功能的 Azure Bot 框架无法正常工作

azure - 如何使用 ARM 在自动化帐户中推送带有密码的 pfx 证书

sql-server - SQL Server : how to get the database engine type?

Azure Function 错过 IoT 触发器