Freigeben über


SecretItem Konstruktoren

Definition

Überlädt

SecretItem()

Initialisiert eine neue instance der SecretItem-Klasse.

SecretItem(String, SecretAttributes, IDictionary<String,String>, String, Nullable<Boolean>)

Initialisiert eine neue instance der SecretItem-Klasse.

SecretItem()

Quelle:
SecretItem.cs

Initialisiert eine neue instance der SecretItem-Klasse.

public SecretItem ();
Public Sub New ()

Gilt für:

SecretItem(String, SecretAttributes, IDictionary<String,String>, String, Nullable<Boolean>)

Quelle:
SecretItem.cs

Initialisiert eine neue instance der SecretItem-Klasse.

public SecretItem (string id = default, Microsoft.Azure.KeyVault.Models.SecretAttributes attributes = default, System.Collections.Generic.IDictionary<string,string> tags = default, string contentType = default, bool? managed = default);
new Microsoft.Azure.KeyVault.Models.SecretItem : string * Microsoft.Azure.KeyVault.Models.SecretAttributes * System.Collections.Generic.IDictionary<string, string> * string * Nullable<bool> -> Microsoft.Azure.KeyVault.Models.SecretItem
Public Sub New (Optional id As String = Nothing, Optional attributes As SecretAttributes = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional contentType As String = Nothing, Optional managed As Nullable(Of Boolean) = Nothing)

Parameter

id
String

Geheimnisbezeichner.

attributes
SecretAttributes

Die Attribute für die Geheimnisverwaltung.

tags
IDictionary<String,String>

Anwendungsspezifische Metadaten in Form von Schlüssel-Wert-Paaren.

contentType
String

Der Typ des Geheimniswerts, z. B. ein Kennwort.

managed
Nullable<Boolean>

True, wenn die Lebensdauer des Geheimnisses vom Schlüsseltresor verwaltet wird. Wenn dies ein Schlüssel ist, der ein Zertifikat sichert, ist verwaltet true.

Gilt für: