Share via


CreateRsaKeyOptions Class

Definition

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

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

Constructors

CreateRsaKeyOptions(String, Boolean)

Initializes a new instance of the CreateRsaKeyOptions 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 2048, 3072, or 4096. If null, the service default is used.

KeyType

Gets the key type of the JsonWebKey to create, including Rsa and RsaHsm.

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

Gets or sets the public exponent for a RSA key.

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