Creating Azure Key Vault using .NET assembly (Microsoft.Azure.KeyVault)

前端 未结 2 966
鱼传尺愫
鱼传尺愫 2021-01-17 02:02

I am writing a .Net console application to create Key Vault but not able to find class/method in Microsoft.Azure.KeyVault assembly that allows creating Vault and setting ser

2条回答
  •  梦谈多话
    2021-01-17 02:39

    For some reason, there is no such functionality in the client SDK (or, at least, i was not able to find that as well even by going through the code placed on the Github repo of the SDK). There is the REST API for Create/Update key vault, so you may create that by using that. Or PowerShell - it is possible to execute Powershell from C# and i tried to do that - it works, but should be tested.

提交回复
热议问题