Share via


KeyCreateParameters Constructors

Definition

Overloads

KeyCreateParameters()

Initializes a new instance of the KeyCreateParameters class.

KeyCreateParameters(String, Nullable<Int32>, IList<String>, KeyAttributes, IDictionary<String,String>, String)

Initializes a new instance of the KeyCreateParameters class.

KeyCreateParameters()

Source:
KeyCreateParameters.cs

Initializes a new instance of the KeyCreateParameters class.

public KeyCreateParameters ();
Public Sub New ()

Applies to

KeyCreateParameters(String, Nullable<Int32>, IList<String>, KeyAttributes, IDictionary<String,String>, String)

Source:
KeyCreateParameters.cs

Initializes a new instance of the KeyCreateParameters class.

public KeyCreateParameters (string kty, int? keySize = default, System.Collections.Generic.IList<string> keyOps = default, Microsoft.Azure.KeyVault.Models.KeyAttributes keyAttributes = default, System.Collections.Generic.IDictionary<string,string> tags = default, string curve = default);
new Microsoft.Azure.KeyVault.Models.KeyCreateParameters : string * Nullable<int> * System.Collections.Generic.IList<string> * Microsoft.Azure.KeyVault.Models.KeyAttributes * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.KeyVault.Models.KeyCreateParameters
Public Sub New (kty As String, Optional keySize As Nullable(Of Integer) = Nothing, Optional keyOps As IList(Of String) = Nothing, Optional keyAttributes As KeyAttributes = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional curve As String = Nothing)

Parameters

kty
String

The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'

keySize
Nullable<Int32>

The key size in bytes. For example, 1024 or 2048.

keyOps
IList<String>
keyAttributes
KeyAttributes
tags
IDictionary<String,String>

Application specific metadata in the form of key-value pairs.

curve
String

Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'SECP256K1'

Applies to