Interface Secret
- All Superinterfaces:
HasId
,HasInner<com.microsoft.azure.keyvault.models.SecretBundle>
,HasName
,Indexable
,Updatable<Secret.Update>
@Beta(V1_6_0)
public interface Secret
extends Indexable, HasInner<com.microsoft.azure.keyvault.models.SecretBundle>, HasId, HasName, Updatable<Secret.Update>
An immutable client-side representation of an Azure Key Vault secret.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Container interface for all the definitions.static interface
Grouping of secret definition stages.static interface
The template for a secret update operation, containing all the settings that can be modified.static interface
Grouping of secret update stages. -
Method Summary
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
-
Method Details
-
value
String value()- Returns:
- the secret value when the secret is enabled
-
attributes
com.microsoft.azure.keyvault.models.SecretAttributes attributes()- Returns:
- the secret management attributes
-
tags
- Returns:
- application specific metadata in the form of key-value pairs
-
contentType
String contentType()- Returns:
- type of the secret value such as a password
-
kid
String kid()- Returns:
- the corresponding key backing the KV certificate if this is a secret backing a KV certificate
-
managed
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
-
listVersions
com.microsoft.azure.PagedList<Secret> listVersions()- Returns:
- a list of individual secret versions with the same secret name
-
listVersionsAsync
rx.Observable<Secret> listVersionsAsync()- Returns:
- a list of individual secret versions with the same secret name
-