Aracılığıyla paylaş


CreateKeyOptions Class

Definition

The key-specific properties needed to create a key using the KeyClient.

public class CreateKeyOptions
type CreateKeyOptions = class
Public Class CreateKeyOptions
Inheritance
CreateKeyOptions
Derived

Constructors

CreateKeyOptions()

Initializes a new instance of the CreateKeyOptions class.

Properties

Enabled

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

ExpiresOn

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

Exportable

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

KeyOperations

Gets a list of KeyOperation values the key should support.

NotBefore

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

ReleasePolicy

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

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.

Applies to