我正在尝试通过 API KeyVaultClient.CreateKeyAsync在Azure Key Vault中创建一个新密钥:
public Task<KeyBundle> CreateKeyAsync (
string vaultAddress,
string keyType,
KeyAttributes keyAttributes)
文档keyType
是:
要创建的密钥类型(有效的 WebKeyTypes 之一)
什么是有效的 WebKeyTypes?
我搜索了 MSDN 文档并没有找到任何东西。Powershell调用似乎不需要这个参数??:
Parameter Set: Create
Add-AzureKeyVaultKey
[-VaultName] <String>
[-Name] <String>
-Destination <String> {HSM | Software}
[-Disable]
[-Expires <DateTime]> ]
[-KeyOps <String[]> ]
[-NotBefore <DateTime]> ]
[-Tags <System.Collections.Hashtable> ]
[ <CommonParameters>]