Secret Interface

Implements

public interface Secret
extends Indexable, HasInner<SecretBundle>, HasId, HasName, Updatable<Update>

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

Method Summary

Modifier and Type Method and Description
abstract SecretAttributes attributes()
abstract java.lang.String contentType()
abstract java.lang.String kid()
abstract com.microsoft.azure.PagedList<Secret> listVersions()
abstract rx.Observable<Secret> listVersionsAsync()
abstract boolean managed()
abstract java.util.Map<java.lang.String,java.lang.String> tags()
abstract java.lang.String value()

Method Details

attributes

public abstract SecretAttributes attributes()

Returns:

the secret management attributes

contentType

public abstract String contentType()

Returns:

type of the secret value such as a password

kid

public abstract String kid()

Returns:

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

listVersions

public abstract PagedList listVersions()

Returns:

a list of individual secret versions with the same secret name

listVersionsAsync

public abstract Observable listVersionsAsync()

Returns:

a list of individual secret versions with the same secret name

managed

public abstract boolean managed()

Returns:

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

tags

public abstract Map tags()

Returns:

application specific metadata in the form of key-value pairs

value

public abstract String value()

Returns:

the secret value when the secret is enabled

Applies to