Share via


SecretAttributes Class

 

Represents the attributes of a secret managed by the KeyVault service.

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

Inheritance Hierarchy

System.Object
  Microsoft.Azure.KeyVault.SecretAttributes

Syntax

[JsonObjectAttribute(MemberSerialization.OptIn)]
public class SecretAttributes
[JsonObjectAttribute(MemberSerialization::OptIn)]
public ref class SecretAttributes 
[<JsonObjectAttribute(MemberSerialization.OptIn)>]
type SecretAttributes = class end
<JsonObjectAttribute(MemberSerialization.OptIn)>
Public Class SecretAttributes

Constructors

Name Description
System_CAPS_pubmethod SecretAttributes()

Initializes a new instance of the SecretAttributes class.

Properties

Name Description
System_CAPS_pubproperty Created

Gets the creation time in UTC.

System_CAPS_pubproperty Enabled

Determines whether the key is enabled.

System_CAPS_pubproperty Expires

Gets or sets the expiry date in UTC.

System_CAPS_pubproperty NotBefore

Gets or sets the not before date in UTC.

System_CAPS_pubproperty Updated

Gets the last updated time in UTC.

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

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

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static PropertyCreated

Specifies the property created.

System_CAPS_pubfieldSystem_CAPS_static PropertyEnabled

Specifies the enabled property.

System_CAPS_pubfieldSystem_CAPS_static PropertyExpires

Specifies the property expires.

System_CAPS_pubfieldSystem_CAPS_static PropertyNotBefore

Specifies the property not before.

System_CAPS_pubfieldSystem_CAPS_static PropertyUpdated

Specifies the updated property.

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