azure-keyvault - 在 Azure Key Vault 中搜索 secret

标签 azure-keyvault

万千 secret 在我的 里吗?天蓝色 key 保管库 .
因此,每当我需要在 Azure 门户上检查/查看 secret 值时,我都需要在多次加载所有 secret 后向上滚动到最后。
除了API,还有什么捷径可以看到吗?
比你提前!!

最佳答案

目前,keyvault 中用于搜索 secret 的搜索文本框是 不支持 .你可以投票给这个 feedback插入它实现。
但是,您可以访问 Azure Key Vault Secret through Azure Key Vault REST API .
我们将首先在 Azure AD 中注册一个应用程序,然后将该应用程序添加到 Key Vault 的访问策略中。
然后在 Postman 中创建一个新请求以获取访问 token 。

https://login.microsoftonline.com/{{directoryId}}/oauth2/v2.0/token
enter image description here
之后,我们将发送几个 http 请求来获取访问 token 并获取 secret 的值。
https://yourkeyvaultname.vault.azure.net/secrets/Secret1?api-version=2016-10-01
enter image description here

关于azure-keyvault - 在 Azure Key Vault 中搜索 secret ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63880508/

相关文章:

azure - 在 AzureRM.KeyVault v. 3.1.0 中找不到 Add-AzureKeyVaultManagedStorageAccount cmdlet

c# - Azure Active Directory 应用服务无法使用用户凭据/ token 连接到 Azure Keyvault

使用 Terraform 和 map 的多个源的 Azure Function AppSettings

azure-devops - 如何使用/重新映射 Azure KeyVault secret 作为 Azure DevOps 管道环境变量?

azure - 如何使用现有的 access_token 字符串创建 KeyVaultClient 实例?

c# - 将证书导入到 Azure key 保管库 : Operation returned an invalid status code 'Conflict'

Azure 开发运营 : Substitute variables with variables

Azure KeyVault 客户端证书和服务主体续订

c# - Azure Functions EventHub 触发器连接字符串

c# - 无法访问 Azure keyvault 值