Dela via


CreateRsaKeyOptions(String, Boolean) Constructor

Definition

Initializes a new instance of the CreateRsaKeyOptions class.

public CreateRsaKeyOptions (string name, bool hardwareProtected = false);
new Azure.Security.KeyVault.Keys.CreateRsaKeyOptions : string * bool -> Azure.Security.KeyVault.Keys.CreateRsaKeyOptions
Public Sub New (name As String, Optional hardwareProtected As Boolean = false)

Parameters

name
String

The name of the key to create.

hardwareProtected
Boolean

True to create a hardware-protected key in a hardware security module (HSM). The default is false to create a software key.

Exceptions

name is empty.

name is null.

Applies to