Secrets Interface
Implements
public interface Secrets
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<Secret>, SupportsGettingByName<Secret>, SupportsListing<Secret>
Entry point for Key Vault secrets API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract void |
disableByNameAndVersion(String name, String version)
Disables a secret. |
abstract Mono<Void> |
disableByNameAndVersionAsync(String name, String version)
Disables a secret. |
abstract Secret |
enableByNameAndVersion(String name, String version)
Enables a secret. |
abstract Mono<Secret> |
enableByNameAndVersionAsync(String name, String version)
Enables a secret. |
abstract Secret |
getByNameAndVersion(String name, String version)
Gets a Key Vault secret when the secret is enabled. |
abstract Mono<Secret> |
getByNameAndVersionAsync(String name, String version)
Gets a Key Vault secret when the secret is enabled. |
Method Details
disableByNameAndVersion
public abstract void disableByNameAndVersion(String name, String version)
Disables a secret.
Parameters:
disableByNameAndVersionAsync
public abstract Mono
Disables a secret.
Parameters:
Returns:
enableByNameAndVersion
public abstract Secret enableByNameAndVersion(String name, String version)
Enables a secret.
Parameters:
Returns:
enableByNameAndVersionAsync
public abstract Mono
Enables a secret.
Parameters:
Returns:
getByNameAndVersion
public abstract Secret getByNameAndVersion(String name, String version)
Gets a Key Vault secret when the secret is enabled.
Parameters:
Returns:
getByNameAndVersionAsync
public abstract Mono
Gets a Key Vault secret when the secret is enabled.
Parameters:
Returns:
Applies to
Azure SDK for Java