Dela via


ISecret Interface

Definition

An immutable client-side representation of an Azure Key Vault secret.

public interface ISecret : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.KeyVault.Models.SecretBundle>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IIndexable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.KeyVault.Fluent.Secret.Update.IUpdate>
type ISecret = interface
    interface IBeta
    interface IIndexable
    interface IHasInner<SecretBundle>
    interface IHasId
    interface IHasName
    interface IUpdatable<IUpdate>
Public Interface ISecret
Implements IBeta, IHasId, IHasInner(Of SecretBundle), IHasName, IIndexable, IUpdatable(Of IUpdate)
Implements

Properties

Attributes

Gets the secret management attributes.

ContentType

Gets type of the secret value such as a password.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Kid

Gets the corresponding key backing the KV certificate if this is a secret backing a KV certificate.

Managed

Gets true if the secret's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.

Name

Gets the name of the resource

(Inherited from IHasName)
Tags

Gets application specific metadata in the form of key-value pairs.

Value

Gets the secret value.

Methods

ListVersions()
ListVersionsAsync(CancellationToken)
Update() (Inherited from IUpdatable<T>)

Applies to