Share via


KeyCredential Constructors

Definition

Overloads

KeyCredential()

Initializes a new instance of the KeyCredential class.

KeyCredential(IDictionary<String,Object>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String)

Initializes a new instance of the KeyCredential class.

KeyCredential()

Initializes a new instance of the KeyCredential class.

public KeyCredential ();
Public Sub New ()

Applies to

KeyCredential(IDictionary<String,Object>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String)

Initializes a new instance of the KeyCredential class.

public KeyCredential (System.Collections.Generic.IDictionary<string,object> additionalProperties = default, DateTime? startDate = default, DateTime? endDate = default, string value = default, string keyId = default, string usage = default, string type = default, string customKeyIdentifier = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential : System.Collections.Generic.IDictionary<string, obj> * Nullable<DateTime> * Nullable<DateTime> * string * string * string * string * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential
Public Sub New (Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional startDate As Nullable(Of DateTime) = Nothing, Optional endDate As Nullable(Of DateTime) = Nothing, Optional value As String = Nothing, Optional keyId As String = Nothing, Optional usage As String = Nothing, Optional type As String = Nothing, Optional customKeyIdentifier As String = Nothing)

Parameters

additionalProperties
IDictionary<String,Object>

Unmatched properties from the message are deserialized this collection

startDate
Nullable<DateTime>

Start date.

endDate
Nullable<DateTime>

End date.

value
String

Key value.

keyId
String

Key ID.

usage
String

Usage. Acceptable values are 'Verify' and 'Sign'.

type
String

Type. Acceptable values are 'AsymmetricX509Cert' and 'Symmetric'.

customKeyIdentifier
String

Custom Key Identifier

Applies to