다음을 통해 공유


CreateOctKeyOptions(String, Boolean) Constructor

Definition

Initializes a new instance of the CreateOctKeyOptions class.

public CreateOctKeyOptions (string name, bool hardwareProtected = false);
new Azure.Security.KeyVault.Keys.CreateOctKeyOptions : string * bool -> Azure.Security.KeyVault.Keys.CreateOctKeyOptions
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