How can i get secret from key vault?

前端 未结 2 1203
闹比i
闹比i 2021-01-28 12:28

I want to get secret from Azure key vault.

I found codes below and tried it. But I failed with error.

    private String clientId= \'

        
2条回答
  •  情书的邮戳
    2021-01-28 13:04

    Before getting secrets from the Azure Key Vault make sure you have access to the key vault. Make sure to login or provide correct Azure credential. you can refer this link for getting secret

    Or you execute this powershell command Get-AzureKeyVaultSecret -VaultName 'VaultName' -Name 'sceretName'

提交回复
热议问题