CreateOctKeyOptions Class

Definition

The properties needed to create an AES key using the KeyClient.

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

Constructors

CreateOctKeyOptions(String, Boolean)

Initializes a new instance of the CreateOctKeyOptions class.

Properties

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)
KeySize

Gets or sets the key size in bits, such as 128, 192, or 256. If null, the service default is used.

KeyType

Gets the key type of the JsonWebKey to create, including Oct and OctHsm.

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