Azure密钥保管库-如何更新机密 [英] Azure Key Vault - How to update the secrets

查看:71
本文介绍了Azure密钥保管库-如何更新机密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Azure门户>密钥库>机密中,我具有带有json值的机密(我没有创建).像这样:

In Azure Portal > Key vaults > Secrets, I have secrets with json values (I did not create it). Something like:

...

...

"SubscriptionId":"XXXXXXX",
"BaseAuthUri":" https://login.microsoftonline.com/XXXXX/oauth/authorize ?client_id = "& api-version =
...

"SubscriptionId": "XXXXXXX",
"BaseAuthUri": "https://login.microsoftonline.com/XXXXX/oauth/authorize?client_id="&api-version=
...

  • 我想向它添加另一个url值.我该如何编辑 Azure门户的秘密?

    • I would like to add another url value to it. How can I edit the secrets with Azure portal?

      • api版本的值如何设置?

      谢谢

      推荐答案

      您只能更改机密属性,例如到期日期,激活日期.您不能以编程方式或通过Azure门户更改机密的值.如果要在不创建新保管库的情况下更新机密(这意味着机密标识符仍保持不变),则可以创建现有机密的新版本.

      You can only change secret attributes such as expiration date, activation date. You cannot change secret's value programatically or via Azure Portal. If you want to update your secret without creating a new vault (meaning the secret identifier still remains intact) you can create a new version of the existing secret.

      如果秘密值包含用于获取授权代码的变量,则您不需要api版本,因为您调用的URI是授权端点.

      If the secret value contains the variables to get authorization code, you don't need api version because the URI you call is the authorization endpoint.

      这篇关于Azure密钥保管库-如何更新机密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆