gpt4 book ai didi

azure - 如何从 CLI 在 Azure AD 中的 azure 应用程序注册中生成客户端 key ?

转载 作者:行者123 更新时间:2023-12-02 22:48:52 27 4
gpt4 key购买 nike

如何使用 AZ 命令创建客户端 key ,就像从门户创建客户端 key 一样? Creating client secret from portal

最佳答案

您正在寻找az ad app credential reset ,它会附加或覆盖应用程序的密码(即客户端密码)或证书凭据。

az ad app credential reset --id
[--append]
[--cert]
[--create-cert]
[--credential-description]
[--end-date]
[--keyvault]
[--password]
[--years]

示例(您也可以指定其他参数,这取决于您):

az ad app credential reset --id xxxxxxxxxxxx --append

enter image description here

关于azure - 如何从 CLI 在 Azure AD 中的 azure 应用程序注册中生成客户端 key ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57732910/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com