Share via


Secret Class

 

Represents a Secret consisting of a value and ID.

Namespace:   Microsoft.Azure.KeyVault
Assembly:  Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Azure.KeyVault.Secret

Syntax

[DataContractAttribute]
public class Secret
[DataContractAttribute]
public ref class Secret 
[<DataContractAttribute>]
type Secret = class end
<DataContractAttribute>
Public Class Secret

Constructors

Name Description
System_CAPS_pubmethod Secret()

Initializes a new instance of the Secret class.

Properties

Name Description
System_CAPS_pubproperty Attributes

Gets or sets the secret management attributes.

System_CAPS_pubproperty ContentType

Gets or sets the content type of the secret.

System_CAPS_pubproperty Id

Gets or sets the ID of the secret.

System_CAPS_pubproperty SecretIdentifier

Gets or sets the identifier of the secret.

System_CAPS_pubproperty Tags

Gets or sets the tags for the secret.

System_CAPS_pubproperty Value

Gets or sets the secret value.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Convert the secret to its string representation.(Overrides Object.ToString().)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Azure.KeyVault Namespace

Return to top