Package | Description |
---|---|
com.azure.security.keyvault.secrets |
Package containing classes for creating
SecretAsyncClient and
SecretClient to perform operations on Azure Key Vault. |
com.azure.security.keyvault.secrets.models |
Package containing classes used for representing secrets, deleted secrets and their attributes in
Azure Key Vault.
|
Modifier and Type | Method and Description |
---|---|
KeyVaultSecret |
SecretClient.getSecret(String name)
Gets the latest version of the specified secret from the key vault.
|
KeyVaultSecret |
SecretClient.getSecret(String name,
String version)
Gets the specified secret with specified version from the key vault.
|
KeyVaultSecret |
SecretClient.restoreSecretBackup(byte[] backup)
Restores a backed up secret, and all its versions, to a vault.
|
KeyVaultSecret |
SecretClient.setSecret(KeyVaultSecret secret)
Adds a secret to the key vault if it does not exist.
|
KeyVaultSecret |
SecretClient.setSecret(String name,
String value)
Adds a secret to the key vault if it does not exist.
|
Modifier and Type | Method and Description |
---|---|
Mono<KeyVaultSecret> |
SecretAsyncClient.setSecret(KeyVaultSecret secret)
Adds a secret to the key vault if it does not exist.
|
KeyVaultSecret |
SecretClient.setSecret(KeyVaultSecret secret)
Adds a secret to the key vault if it does not exist.
|
Mono<com.azure.core.http.rest.Response<KeyVaultSecret>> |
SecretAsyncClient.setSecretWithResponse(KeyVaultSecret secret)
Adds a secret to the key vault if it does not exist.
|
com.azure.core.http.rest.Response<KeyVaultSecret> |
SecretClient.setSecretWithResponse(KeyVaultSecret secret,
com.azure.core.util.Context context)
Adds a secret to the key vault if it does not exist.
|
Modifier and Type | Class and Description |
---|---|
class |
DeletedSecret
Deleted Secret is the resource consisting of name, recovery id, deleted date, scheduled purge date and its attributes
inherited from
KeyVaultSecret . |
Modifier and Type | Method and Description |
---|---|
KeyVaultSecret |
KeyVaultSecret.setProperties(SecretProperties properties)
Set the secret properties
|
Copyright © 2020 Microsoft Corporation. All rights reserved.