CreateEcKeyOptions Class

Definition

The properties needed to create an Elliptic Curve key using the KeyClient.

public class CreateEcKeyOptions : Azure.Security.KeyVault.Keys.CreateKeyOptions
type CreateEcKeyOptions = class
    inherit CreateKeyOptions
Public Class CreateEcKeyOptions
Inherits CreateKeyOptions
Inheritance
CreateEcKeyOptions

Constructors

CreateEcKeyOptions(String, Boolean)

Initializes a new instance of the CreateEcKeyOptions class.

Properties

CurveName

Gets or sets the elliptic curve name. See KeyCurveName for possible values. If null, the service default is used.

Enabled

Gets or sets a value indicating whether the key will be enabled. If null, the service default is used.

(Inherited from CreateKeyOptions)
ExpiresOn

Gets or sets a DateTimeOffset indicating when the key will expire.

(Inherited from CreateKeyOptions)
Exportable

Gets or sets a value indicating whether the private key can be exported.

(Inherited from CreateKeyOptions)
HardwareProtected

Gets a value indicating whether to create a hardware-protected key in a hardware security module (HSM).

KeyOperations

Gets a list of KeyOperation values the key should support.

(Inherited from CreateKeyOptions)
KeyType

Gets the key type of the JsonWebKey to create, including Ec and EcHsm.

Name

Gets the name of the key to create.

NotBefore

Gets or sets a DateTimeOffset indicating when the key will be valid.

(Inherited from CreateKeyOptions)
ReleasePolicy

Gets or sets the policy rules under which the key can be exported.

(Inherited from CreateKeyOptions)
Tags

Gets a dictionary of tags with specific metadata about the key. Although this collection cannot be set, it can be modified or initialized with a collection initializer.

(Inherited from CreateKeyOptions)

Applies to