Class KeyVaultClientCustomImpl
- java.lang.Object
-
- com.microsoft.rest.ServiceClient
-
- com.microsoft.azure.AzureServiceClient
-
- com.microsoft.azure.keyvault.implementation.KeyVaultClientBaseImpl
-
- com.microsoft.azure.keyvault.implementation.KeyVaultClientCustomImpl
-
- All Implemented Interfaces:
KeyVaultClientBase
,KeyVaultClientCustom
- Direct Known Subclasses:
KeyVaultClient
public class KeyVaultClientCustomImpl extends KeyVaultClientBaseImpl implements KeyVaultClientCustom
Implementation of Key Vault Custom Client to maintain backwards compatibility.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeyVaultClientCustomImpl(com.microsoft.rest.credentials.ServiceClientCredentials credentials)
protected
KeyVaultClientCustomImpl(com.microsoft.rest.RestClient restClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateOperation
createCertificate(CreateCertificateRequest createCertificateRequest)
Creates a new certificate version.com.microsoft.rest.ServiceFuture<CertificateOperation>
createCertificateAsync(CreateCertificateRequest createCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Creates a new certificate version.KeyBundle
createKey(CreateKeyRequest createKeyRequest)
Creates a new key, stores it, then returns key parameters and attributes to the client.KeyBundle
createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Creates a new key, stores it, then returns key parameters and attributes to the client.com.microsoft.rest.ServiceFuture<KeyBundle>
createKeyAsync(CreateKeyRequest createKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client.rx.Observable<KeyBundle>
createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Creates a new key, stores it, then returns key parameters and attributes to the client.com.microsoft.rest.ServiceFuture<KeyBundle>
createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Creates a new key, stores it, then returns key parameters and attributes to the client.KeyOperationResult
decrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data.com.microsoft.rest.ServiceFuture<KeyOperationResult>
decryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Decrypts a single block of encrypted data.KeyOperationResult
encrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.com.microsoft.rest.ServiceFuture<KeyOperationResult>
encryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.CertificateBundle
getCertificate(String certificateIdentifier)
Gets information about a specified certificate.CertificateBundle
getCertificate(String vaultBaseUrl, String certificateName)
Gets information about a specified certificate.com.microsoft.rest.ServiceFuture<CertificateBundle>
getCertificateAsync(String certificateIdentifier, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a specified certificate.com.microsoft.rest.ServiceFuture<CertificateBundle>
getCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a specified certificate.com.microsoft.azure.PagedList<CertificateItem>
getCertificates(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault.rx.Observable<com.microsoft.azure.Page<CertificateItem>>
getCertificatesAsync(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
getCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault.com.microsoft.azure.PagedList<DeletedCertificateItem>
getDeletedCertificates(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>>
getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery.com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>>
getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>>
getDeletedCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery.KeyBundle
getKey(String keyIdentifier)
Gets the public part of a stored key.KeyBundle
getKey(String vaultBaseUrl, String keyName)
Gets the public part of a stored key.com.microsoft.rest.ServiceFuture<KeyBundle>
getKeyAsync(String keyIdentifier, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key.com.microsoft.rest.ServiceFuture<KeyBundle>
getKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key.String
getPendingCertificateSigningRequest(String vaultBaseUrl, String certificateName)
Gets the pending certificate signing request response.com.microsoft.rest.ServiceFuture<String>
getPendingCertificateSigningRequestAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<String> serviceCallback)
Gets the pending certificate signing request response.SecretBundle
getSecret(String secretIdentifier)
Get a specified secret from a given key vault.SecretBundle
getSecret(String vaultBaseUrl, String secretName)
Get a specified secret from a given key vault.com.microsoft.rest.ServiceFuture<SecretBundle>
getSecretAsync(String secretIdentifier, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.com.microsoft.rest.ServiceFuture<SecretBundle>
getSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.okhttp3.OkHttpClient
httpClient()
CertificateBundle
importCertificate(ImportCertificateRequest importCertificateRequest)
Imports a certificate into the specified vault.com.microsoft.rest.ServiceFuture<CertificateBundle>
importCertificateAsync(ImportCertificateRequest importCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Imports a certificate into the specified vault.KeyBundle
importKey(ImportKeyRequest importKeyRequest)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.com.microsoft.rest.ServiceFuture<KeyBundle>
importKeyAsync(ImportKeyRequest importKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.void
initializeService()
Initializes the service.com.microsoft.azure.PagedList<CertificateIssuerItem>
listCertificateIssuers(String vaultBaseUrl)
List certificate issuers for the specified vault.com.microsoft.azure.PagedList<CertificateIssuerItem>
listCertificateIssuers(String vaultBaseUrl, Integer maxresults)
List certificate issuers for the specified vault.com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>>
listCertificateIssuersAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for the specified vault.com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>>
listCertificateIssuersAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for the specified vault.com.microsoft.azure.PagedList<CertificateItem>
listCertificates(String vaultBaseUrl)
List certificates in the specified vault.com.microsoft.azure.PagedList<CertificateItem>
listCertificates(String vaultBaseUrl, Integer maxresults)
List certificates in the specified vault.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
listCertificatesAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in the specified vault.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
listCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in the specified vault.com.microsoft.azure.PagedList<CertificateItem>
listCertificateVersions(String vaultBaseUrl, String certificateName)
List the versions of a certificate.com.microsoft.azure.PagedList<CertificateItem>
listCertificateVersions(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
listCertificateVersionsAsync(String vaultBaseUrl, String certificateName, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
listCertificateVersionsAsync(String vaultBaseUrl, String certificateName, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.com.microsoft.azure.PagedList<KeyItem>
listKeys(String vaultBaseUrl)
List keys in the specified vault.com.microsoft.azure.PagedList<KeyItem>
listKeys(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault.com.microsoft.rest.ServiceFuture<List<KeyItem>>
listKeysAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.com.microsoft.rest.ServiceFuture<List<KeyItem>>
listKeysAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.com.microsoft.azure.PagedList<KeyItem>
listKeyVersions(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name.com.microsoft.azure.PagedList<KeyItem>
listKeyVersions(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name.com.microsoft.rest.ServiceFuture<List<KeyItem>>
listKeyVersionsAsync(String vaultBaseUrl, String keyName, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name.com.microsoft.rest.ServiceFuture<List<KeyItem>>
listKeyVersionsAsync(String vaultBaseUrl, String keyName, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name.com.microsoft.azure.PagedList<SecretItem>
listSecrets(String vaultBaseUrl)
List secrets in the specified vault.com.microsoft.azure.PagedList<SecretItem>
listSecrets(String vaultBaseUrl, Integer maxresults)
List secrets in the specified vault.com.microsoft.rest.ServiceFuture<List<SecretItem>>
listSecretsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in the specified vault.com.microsoft.rest.ServiceFuture<List<SecretItem>>
listSecretsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in the specified vault.com.microsoft.azure.PagedList<SecretItem>
listSecretVersions(String vaultBaseUrl, String secretName)
List the versions of the specified secret.com.microsoft.azure.PagedList<SecretItem>
listSecretVersions(String vaultBaseUrl, String secretName, Integer maxresults)
List the versions of the specified secret.com.microsoft.rest.ServiceFuture<List<SecretItem>>
listSecretVersionsAsync(String vaultBaseUrl, String secretName, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List the versions of the specified secret.com.microsoft.rest.ServiceFuture<List<SecretItem>>
listSecretVersionsAsync(String vaultBaseUrl, String secretName, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List the versions of the specified secret.CertificateBundle
mergeCertificate(MergeCertificateRequest mergeCertificateRequest)
Merges a certificate or a certificate chain with a key pair existing on the server.com.microsoft.rest.ServiceFuture<CertificateBundle>
mergeCertificateAsync(MergeCertificateRequest mergeCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Merges a certificate or a certificate chain with a key pair existing on the server.com.microsoft.rest.protocol.SerializerAdapter<?>
serializerAdapter()
IssuerBundle
setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest)
Sets the certificate contacts for the specified vault.com.microsoft.rest.ServiceFuture<IssuerBundle>
setCertificateIssuerAsync(SetCertificateIssuerRequest setCertificateIssuerRequest, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Sets the certificate contacts for the specified vault.SecretBundle
setSecret(SetSecretRequest setSecretRequest)
Sets a secret in the specified vault.com.microsoft.rest.ServiceFuture<SecretBundle>
setSecretAsync(SetSecretRequest setSecretRequest, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Sets a secret in the specified vault.KeyOperationResult
sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key.com.microsoft.rest.ServiceFuture<KeyOperationResult>
signAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Creates a signature from a digest using the specified key.KeyOperationResult
unwrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Unwraps a symmetric key using the specified key in the vault that has initially been used for wrapping the key.com.microsoft.rest.ServiceFuture<KeyOperationResult>
unwrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Unwraps a symmetric key using the specified key in the vault that has initially been used for wrapping the key.CertificateBundle
updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the attributes associated with the specified certificate.com.microsoft.rest.ServiceFuture<CertificateBundle>
updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Updates the attributes associated with the specified certificate.IssuerBundle
updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest)
Updates the specified certificate issuer.com.microsoft.rest.ServiceFuture<IssuerBundle>
updateCertificateIssuerAsync(UpdateCertificateIssuerRequest updateCertificateIssuerRequest, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Updates the specified certificate issuer.CertificateOperation
updateCertificateOperation(UpdateCertificateOperationRequest updateCertificateOperationRequest)
Updates a certificate operation.com.microsoft.rest.ServiceFuture<CertificateOperation>
updateCertificateOperationAsync(UpdateCertificateOperationRequest updateCertificateOperationRequest, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Updates a certificate operation.CertificatePolicy
updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest)
Updates the policy for a certificate.com.microsoft.rest.ServiceFuture<CertificatePolicy>
updateCertificatePolicyAsync(UpdateCertificatePolicyRequest updateCertificatePolicyRequest, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Updates the policy for a certificate.KeyBundle
updateKey(UpdateKeyRequest updateKeyRequest)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.com.microsoft.rest.ServiceFuture<KeyBundle>
updateKeyAsync(UpdateKeyRequest updateKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.SecretBundle
updateSecret(UpdateSecretRequest updateSecretRequest)
Updates the attributes associated with a specified secret in a given key vault.com.microsoft.rest.ServiceFuture<SecretBundle>
updateSecretAsync(UpdateSecretRequest updateSecretRequest, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Updates the attributes associated with a specified secret in a given key vault.KeyVerifyResult
verify(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using the specified key.com.microsoft.rest.ServiceFuture<KeyVerifyResult>
verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, com.microsoft.rest.ServiceCallback<KeyVerifyResult> serviceCallback)
Verifies a signature using the specified key.KeyOperationResult
wrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using the specified key.com.microsoft.rest.ServiceFuture<KeyOperationResult>
wrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Wraps a symmetric key using the specified key.-
Methods inherited from class com.microsoft.azure.keyvault.implementation.KeyVaultClientBaseImpl
acceptLanguage, apiVersion, backupCertificate, backupCertificateAsync, backupCertificateAsync, backupCertificateWithServiceResponseAsync, backupKey, backupKeyAsync, backupKeyAsync, backupKeyWithServiceResponseAsync, backupSecret, backupSecretAsync, backupSecretAsync, backupSecretWithServiceResponseAsync, backupStorageAccount, backupStorageAccountAsync, backupStorageAccountAsync, backupStorageAccountWithServiceResponseAsync, createCertificate, createCertificate, createCertificateAsync, createCertificateAsync, createCertificateAsync, createCertificateAsync, createCertificateWithServiceResponseAsync, createCertificateWithServiceResponseAsync, createKey, createKey, createKeyAsync, createKeyAsync, createKeyAsync, createKeyAsync, createKeyWithServiceResponseAsync, createKeyWithServiceResponseAsync, decrypt, decryptAsync, decryptAsync, decryptWithServiceResponseAsync, deleteCertificate, deleteCertificateAsync, deleteCertificateAsync, deleteCertificateContacts, deleteCertificateContactsAsync, deleteCertificateContactsAsync, deleteCertificateContactsWithServiceResponseAsync, deleteCertificateIssuer, deleteCertificateIssuerAsync, deleteCertificateIssuerAsync, deleteCertificateIssuerWithServiceResponseAsync, deleteCertificateOperation, deleteCertificateOperationAsync, deleteCertificateOperationAsync, deleteCertificateOperationWithServiceResponseAsync, deleteCertificateWithServiceResponseAsync, deleteKey, deleteKeyAsync, deleteKeyAsync, deleteKeyWithServiceResponseAsync, deleteSasDefinition, deleteSasDefinitionAsync, deleteSasDefinitionAsync, deleteSasDefinitionWithServiceResponseAsync, deleteSecret, deleteSecretAsync, deleteSecretAsync, deleteSecretWithServiceResponseAsync, deleteStorageAccount, deleteStorageAccountAsync, deleteStorageAccountAsync, deleteStorageAccountWithServiceResponseAsync, encrypt, encryptAsync, encryptAsync, encryptWithServiceResponseAsync, generateClientRequestId, getAzureClient, getCertificate, getCertificateAsync, getCertificateAsync, getCertificateContacts, getCertificateContactsAsync, getCertificateContactsAsync, getCertificateContactsWithServiceResponseAsync, getCertificateIssuer, getCertificateIssuerAsync, getCertificateIssuerAsync, getCertificateIssuers, getCertificateIssuers, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersNext, getCertificateIssuersNextAsync, getCertificateIssuersNextAsync, getCertificateIssuersNextSinglePageAsync, getCertificateIssuersNextWithServiceResponseAsync, getCertificateIssuersSinglePageAsync, getCertificateIssuersSinglePageAsync, getCertificateIssuersWithServiceResponseAsync, getCertificateIssuersWithServiceResponseAsync, getCertificateIssuerWithServiceResponseAsync, getCertificateOperation, getCertificateOperationAsync, getCertificateOperationAsync, getCertificateOperationWithServiceResponseAsync, getCertificatePolicy, getCertificatePolicyAsync, getCertificatePolicyAsync, getCertificatePolicyWithServiceResponseAsync, getCertificates, getCertificates, getCertificatesAsync, getCertificatesAsync, getCertificatesAsync, getCertificatesAsync, getCertificatesNext, getCertificatesNextAsync, getCertificatesNextAsync, getCertificatesNextSinglePageAsync, getCertificatesNextWithServiceResponseAsync, getCertificatesSinglePageAsync, getCertificatesSinglePageAsync, getCertificatesWithServiceResponseAsync, getCertificatesWithServiceResponseAsync, getCertificateVersions, getCertificateVersions, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsNext, getCertificateVersionsNextAsync, getCertificateVersionsNextAsync, getCertificateVersionsNextSinglePageAsync, getCertificateVersionsNextWithServiceResponseAsync, getCertificateVersionsSinglePageAsync, getCertificateVersionsSinglePageAsync, getCertificateVersionsWithServiceResponseAsync, getCertificateVersionsWithServiceResponseAsync, getCertificateWithServiceResponseAsync, getDeletedCertificate, getDeletedCertificateAsync, getDeletedCertificateAsync, getDeletedCertificates, getDeletedCertificates, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesNext, getDeletedCertificatesNextAsync, getDeletedCertificatesNextAsync, getDeletedCertificatesNextSinglePageAsync, getDeletedCertificatesNextWithServiceResponseAsync, getDeletedCertificatesSinglePageAsync, getDeletedCertificatesSinglePageAsync, getDeletedCertificatesWithServiceResponseAsync, getDeletedCertificatesWithServiceResponseAsync, getDeletedCertificateWithServiceResponseAsync, getDeletedKey, getDeletedKeyAsync, getDeletedKeyAsync, getDeletedKeys, getDeletedKeys, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysNext, getDeletedKeysNextAsync, getDeletedKeysNextAsync, getDeletedKeysNextSinglePageAsync, getDeletedKeysNextWithServiceResponseAsync, getDeletedKeysSinglePageAsync, getDeletedKeysSinglePageAsync, getDeletedKeysWithServiceResponseAsync, getDeletedKeysWithServiceResponseAsync, getDeletedKeyWithServiceResponseAsync, getDeletedSasDefinition, getDeletedSasDefinitionAsync, getDeletedSasDefinitionAsync, getDeletedSasDefinitions, getDeletedSasDefinitions, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsNext, getDeletedSasDefinitionsNextAsync, getDeletedSasDefinitionsNextAsync, getDeletedSasDefinitionsNextSinglePageAsync, getDeletedSasDefinitionsNextWithServiceResponseAsync, getDeletedSasDefinitionsSinglePageAsync, getDeletedSasDefinitionsSinglePageAsync, getDeletedSasDefinitionsWithServiceResponseAsync, getDeletedSasDefinitionsWithServiceResponseAsync, getDeletedSasDefinitionWithServiceResponseAsync, getDeletedSecret, getDeletedSecretAsync, getDeletedSecretAsync, getDeletedSecrets, getDeletedSecrets, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsNext, getDeletedSecretsNextAsync, getDeletedSecretsNextAsync, getDeletedSecretsNextSinglePageAsync, getDeletedSecretsNextWithServiceResponseAsync, getDeletedSecretsSinglePageAsync, getDeletedSecretsSinglePageAsync, getDeletedSecretsWithServiceResponseAsync, getDeletedSecretsWithServiceResponseAsync, getDeletedSecretWithServiceResponseAsync, getDeletedStorageAccount, getDeletedStorageAccountAsync, getDeletedStorageAccountAsync, getDeletedStorageAccounts, getDeletedStorageAccounts, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsNext, getDeletedStorageAccountsNextAsync, getDeletedStorageAccountsNextAsync, getDeletedStorageAccountsNextSinglePageAsync, getDeletedStorageAccountsNextWithServiceResponseAsync, getDeletedStorageAccountsSinglePageAsync, getDeletedStorageAccountsSinglePageAsync, getDeletedStorageAccountsWithServiceResponseAsync, getDeletedStorageAccountsWithServiceResponseAsync, getDeletedStorageAccountWithServiceResponseAsync, getKey, getKeyAsync, getKeyAsync, getKeys, getKeys, getKeysAsync, getKeysAsync, getKeysAsync, getKeysAsync, getKeysNext, getKeysNextAsync, getKeysNextAsync, getKeysNextSinglePageAsync, getKeysNextWithServiceResponseAsync, getKeysSinglePageAsync, getKeysSinglePageAsync, getKeysWithServiceResponseAsync, getKeysWithServiceResponseAsync, getKeyVersions, getKeyVersions, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsNext, getKeyVersionsNextAsync, getKeyVersionsNextAsync, getKeyVersionsNextSinglePageAsync, getKeyVersionsNextWithServiceResponseAsync, getKeyVersionsSinglePageAsync, getKeyVersionsSinglePageAsync, getKeyVersionsWithServiceResponseAsync, getKeyVersionsWithServiceResponseAsync, getKeyWithServiceResponseAsync, getSasDefinition, getSasDefinitionAsync, getSasDefinitionAsync, getSasDefinitions, getSasDefinitions, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsNext, getSasDefinitionsNextAsync, getSasDefinitionsNextAsync, getSasDefinitionsNextSinglePageAsync, getSasDefinitionsNextWithServiceResponseAsync, getSasDefinitionsSinglePageAsync, getSasDefinitionsSinglePageAsync, getSasDefinitionsWithServiceResponseAsync, getSasDefinitionsWithServiceResponseAsync, getSasDefinitionWithServiceResponseAsync, getSecret, getSecretAsync, getSecretAsync, getSecrets, getSecrets, getSecretsAsync, getSecretsAsync, getSecretsAsync, getSecretsAsync, getSecretsNext, getSecretsNextAsync, getSecretsNextAsync, getSecretsNextSinglePageAsync, getSecretsNextWithServiceResponseAsync, getSecretsSinglePageAsync, getSecretsSinglePageAsync, getSecretsWithServiceResponseAsync, getSecretsWithServiceResponseAsync, getSecretVersions, getSecretVersions, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsNext, getSecretVersionsNextAsync, getSecretVersionsNextAsync, getSecretVersionsNextSinglePageAsync, getSecretVersionsNextWithServiceResponseAsync, getSecretVersionsSinglePageAsync, getSecretVersionsSinglePageAsync, getSecretVersionsWithServiceResponseAsync, getSecretVersionsWithServiceResponseAsync, getSecretWithServiceResponseAsync, getStorageAccount, getStorageAccountAsync, getStorageAccountAsync, getStorageAccounts, getStorageAccounts, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsNext, getStorageAccountsNextAsync, getStorageAccountsNextAsync, getStorageAccountsNextSinglePageAsync, getStorageAccountsNextWithServiceResponseAsync, getStorageAccountsSinglePageAsync, getStorageAccountsSinglePageAsync, getStorageAccountsWithServiceResponseAsync, getStorageAccountsWithServiceResponseAsync, getStorageAccountWithServiceResponseAsync, importCertificate, importCertificate, importCertificateAsync, importCertificateAsync, importCertificateAsync, importCertificateAsync, importCertificateWithServiceResponseAsync, importCertificateWithServiceResponseAsync, importKey, importKey, importKeyAsync, importKeyAsync, importKeyAsync, importKeyAsync, importKeyWithServiceResponseAsync, importKeyWithServiceResponseAsync, initialize, longRunningOperationRetryTimeout, mergeCertificate, mergeCertificate, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateWithServiceResponseAsync, mergeCertificateWithServiceResponseAsync, purgeDeletedCertificate, purgeDeletedCertificateAsync, purgeDeletedCertificateAsync, purgeDeletedCertificateWithServiceResponseAsync, purgeDeletedKey, purgeDeletedKeyAsync, purgeDeletedKeyAsync, purgeDeletedKeyWithServiceResponseAsync, purgeDeletedSecret, purgeDeletedSecretAsync, purgeDeletedSecretAsync, purgeDeletedSecretWithServiceResponseAsync, purgeDeletedStorageAccount, purgeDeletedStorageAccountAsync, purgeDeletedStorageAccountAsync, purgeDeletedStorageAccountWithServiceResponseAsync, recoverDeletedCertificate, recoverDeletedCertificateAsync, recoverDeletedCertificateAsync, recoverDeletedCertificateWithServiceResponseAsync, recoverDeletedKey, recoverDeletedKeyAsync, recoverDeletedKeyAsync, recoverDeletedKeyWithServiceResponseAsync, recoverDeletedSasDefinition, recoverDeletedSasDefinitionAsync, recoverDeletedSasDefinitionAsync, recoverDeletedSasDefinitionWithServiceResponseAsync, recoverDeletedSecret, recoverDeletedSecretAsync, recoverDeletedSecretAsync, recoverDeletedSecretWithServiceResponseAsync, recoverDeletedStorageAccount, recoverDeletedStorageAccountAsync, recoverDeletedStorageAccountAsync, recoverDeletedStorageAccountWithServiceResponseAsync, regenerateStorageAccountKey, regenerateStorageAccountKeyAsync, regenerateStorageAccountKeyAsync, regenerateStorageAccountKeyWithServiceResponseAsync, restoreCertificate, restoreCertificateAsync, restoreCertificateAsync, restoreCertificateWithServiceResponseAsync, restoreKey, restoreKeyAsync, restoreKeyAsync, restoreKeyWithServiceResponseAsync, restoreSecret, restoreSecretAsync, restoreSecretAsync, restoreSecretWithServiceResponseAsync, restoreStorageAccount, restoreStorageAccountAsync, restoreStorageAccountAsync, restoreStorageAccountWithServiceResponseAsync, setCertificateContacts, setCertificateContactsAsync, setCertificateContactsAsync, setCertificateContactsWithServiceResponseAsync, setCertificateIssuer, setCertificateIssuer, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerWithServiceResponseAsync, setCertificateIssuerWithServiceResponseAsync, setSasDefinition, setSasDefinition, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionWithServiceResponseAsync, setSasDefinitionWithServiceResponseAsync, setSecret, setSecret, setSecretAsync, setSecretAsync, setSecretAsync, setSecretAsync, setSecretWithServiceResponseAsync, setSecretWithServiceResponseAsync, setStorageAccount, setStorageAccount, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountWithServiceResponseAsync, setStorageAccountWithServiceResponseAsync, sign, signAsync, signAsync, signWithServiceResponseAsync, unwrapKey, unwrapKeyAsync, unwrapKeyAsync, unwrapKeyWithServiceResponseAsync, updateCertificate, updateCertificate, updateCertificateAsync, updateCertificateAsync, updateCertificateAsync, updateCertificateAsync, updateCertificateIssuer, updateCertificateIssuer, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerWithServiceResponseAsync, updateCertificateIssuerWithServiceResponseAsync, updateCertificateOperation, updateCertificateOperationAsync, updateCertificateOperationAsync, updateCertificateOperationWithServiceResponseAsync, updateCertificatePolicy, updateCertificatePolicyAsync, updateCertificatePolicyAsync, updateCertificatePolicyWithServiceResponseAsync, updateCertificateWithServiceResponseAsync, updateCertificateWithServiceResponseAsync, updateKey, updateKey, updateKeyAsync, updateKeyAsync, updateKeyAsync, updateKeyAsync, updateKeyWithServiceResponseAsync, updateKeyWithServiceResponseAsync, updateSasDefinition, updateSasDefinition, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionWithServiceResponseAsync, updateSasDefinitionWithServiceResponseAsync, updateSecret, updateSecret, updateSecretAsync, updateSecretAsync, updateSecretAsync, updateSecretAsync, updateSecretWithServiceResponseAsync, updateSecretWithServiceResponseAsync, updateStorageAccount, updateStorageAccount, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountWithServiceResponseAsync, updateStorageAccountWithServiceResponseAsync, userAgent, verify, verifyAsync, verifyAsync, verifyWithServiceResponseAsync, withAcceptLanguage, withGenerateClientRequestId, withLongRunningOperationRetryTimeout, wrapKey, wrapKeyAsync, wrapKeyAsync, wrapKeyWithServiceResponseAsync
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microsoft.azure.keyvault.KeyVaultClientBase
acceptLanguage, apiVersion, backupCertificate, backupCertificateAsync, backupCertificateAsync, backupCertificateWithServiceResponseAsync, backupKey, backupKeyAsync, backupKeyAsync, backupKeyWithServiceResponseAsync, backupSecret, backupSecretAsync, backupSecretAsync, backupSecretWithServiceResponseAsync, backupStorageAccount, backupStorageAccountAsync, backupStorageAccountAsync, backupStorageAccountWithServiceResponseAsync, createCertificate, createCertificate, createCertificateAsync, createCertificateAsync, createCertificateAsync, createCertificateAsync, createCertificateWithServiceResponseAsync, createCertificateWithServiceResponseAsync, createKey, createKey, createKeyAsync, createKeyAsync, createKeyAsync, createKeyAsync, createKeyWithServiceResponseAsync, createKeyWithServiceResponseAsync, decrypt, decryptAsync, decryptAsync, decryptWithServiceResponseAsync, deleteCertificate, deleteCertificateAsync, deleteCertificateAsync, deleteCertificateContacts, deleteCertificateContactsAsync, deleteCertificateContactsAsync, deleteCertificateContactsWithServiceResponseAsync, deleteCertificateIssuer, deleteCertificateIssuerAsync, deleteCertificateIssuerAsync, deleteCertificateIssuerWithServiceResponseAsync, deleteCertificateOperation, deleteCertificateOperationAsync, deleteCertificateOperationAsync, deleteCertificateOperationWithServiceResponseAsync, deleteCertificateWithServiceResponseAsync, deleteKey, deleteKeyAsync, deleteKeyAsync, deleteKeyWithServiceResponseAsync, deleteSasDefinition, deleteSasDefinitionAsync, deleteSasDefinitionAsync, deleteSasDefinitionWithServiceResponseAsync, deleteSecret, deleteSecretAsync, deleteSecretAsync, deleteSecretWithServiceResponseAsync, deleteStorageAccount, deleteStorageAccountAsync, deleteStorageAccountAsync, deleteStorageAccountWithServiceResponseAsync, encrypt, encryptAsync, encryptAsync, encryptWithServiceResponseAsync, generateClientRequestId, getAzureClient, getCertificate, getCertificateAsync, getCertificateAsync, getCertificateContacts, getCertificateContactsAsync, getCertificateContactsAsync, getCertificateContactsWithServiceResponseAsync, getCertificateIssuer, getCertificateIssuerAsync, getCertificateIssuerAsync, getCertificateIssuers, getCertificateIssuers, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersNext, getCertificateIssuersNextAsync, getCertificateIssuersNextAsync, getCertificateIssuersNextWithServiceResponseAsync, getCertificateIssuersWithServiceResponseAsync, getCertificateIssuersWithServiceResponseAsync, getCertificateIssuerWithServiceResponseAsync, getCertificateOperation, getCertificateOperationAsync, getCertificateOperationAsync, getCertificateOperationWithServiceResponseAsync, getCertificatePolicy, getCertificatePolicyAsync, getCertificatePolicyAsync, getCertificatePolicyWithServiceResponseAsync, getCertificates, getCertificates, getCertificatesAsync, getCertificatesAsync, getCertificatesAsync, getCertificatesAsync, getCertificatesNext, getCertificatesNextAsync, getCertificatesNextAsync, getCertificatesNextWithServiceResponseAsync, getCertificatesWithServiceResponseAsync, getCertificatesWithServiceResponseAsync, getCertificateVersions, getCertificateVersions, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsNext, getCertificateVersionsNextAsync, getCertificateVersionsNextAsync, getCertificateVersionsNextWithServiceResponseAsync, getCertificateVersionsWithServiceResponseAsync, getCertificateVersionsWithServiceResponseAsync, getCertificateWithServiceResponseAsync, getDeletedCertificate, getDeletedCertificateAsync, getDeletedCertificateAsync, getDeletedCertificates, getDeletedCertificates, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesNext, getDeletedCertificatesNextAsync, getDeletedCertificatesNextAsync, getDeletedCertificatesNextWithServiceResponseAsync, getDeletedCertificatesWithServiceResponseAsync, getDeletedCertificatesWithServiceResponseAsync, getDeletedCertificateWithServiceResponseAsync, getDeletedKey, getDeletedKeyAsync, getDeletedKeyAsync, getDeletedKeys, getDeletedKeys, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysNext, getDeletedKeysNextAsync, getDeletedKeysNextAsync, getDeletedKeysNextWithServiceResponseAsync, getDeletedKeysWithServiceResponseAsync, getDeletedKeysWithServiceResponseAsync, getDeletedKeyWithServiceResponseAsync, getDeletedSasDefinition, getDeletedSasDefinitionAsync, getDeletedSasDefinitionAsync, getDeletedSasDefinitions, getDeletedSasDefinitions, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsNext, getDeletedSasDefinitionsNextAsync, getDeletedSasDefinitionsNextAsync, getDeletedSasDefinitionsNextWithServiceResponseAsync, getDeletedSasDefinitionsWithServiceResponseAsync, getDeletedSasDefinitionsWithServiceResponseAsync, getDeletedSasDefinitionWithServiceResponseAsync, getDeletedSecret, getDeletedSecretAsync, getDeletedSecretAsync, getDeletedSecrets, getDeletedSecrets, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsNext, getDeletedSecretsNextAsync, getDeletedSecretsNextAsync, getDeletedSecretsNextWithServiceResponseAsync, getDeletedSecretsWithServiceResponseAsync, getDeletedSecretsWithServiceResponseAsync, getDeletedSecretWithServiceResponseAsync, getDeletedStorageAccount, getDeletedStorageAccountAsync, getDeletedStorageAccountAsync, getDeletedStorageAccounts, getDeletedStorageAccounts, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsNext, getDeletedStorageAccountsNextAsync, getDeletedStorageAccountsNextAsync, getDeletedStorageAccountsNextWithServiceResponseAsync, getDeletedStorageAccountsWithServiceResponseAsync, getDeletedStorageAccountsWithServiceResponseAsync, getDeletedStorageAccountWithServiceResponseAsync, getKey, getKeyAsync, getKeyAsync, getKeys, getKeys, getKeysAsync, getKeysAsync, getKeysAsync, getKeysAsync, getKeysNext, getKeysNextAsync, getKeysNextAsync, getKeysNextWithServiceResponseAsync, getKeysWithServiceResponseAsync, getKeysWithServiceResponseAsync, getKeyVersions, getKeyVersions, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsNext, getKeyVersionsNextAsync, getKeyVersionsNextAsync, getKeyVersionsNextWithServiceResponseAsync, getKeyVersionsWithServiceResponseAsync, getKeyVersionsWithServiceResponseAsync, getKeyWithServiceResponseAsync, getSasDefinition, getSasDefinitionAsync, getSasDefinitionAsync, getSasDefinitions, getSasDefinitions, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsNext, getSasDefinitionsNextAsync, getSasDefinitionsNextAsync, getSasDefinitionsNextWithServiceResponseAsync, getSasDefinitionsWithServiceResponseAsync, getSasDefinitionsWithServiceResponseAsync, getSasDefinitionWithServiceResponseAsync, getSecret, getSecretAsync, getSecretAsync, getSecrets, getSecrets, getSecretsAsync, getSecretsAsync, getSecretsAsync, getSecretsAsync, getSecretsNext, getSecretsNextAsync, getSecretsNextAsync, getSecretsNextWithServiceResponseAsync, getSecretsWithServiceResponseAsync, getSecretsWithServiceResponseAsync, getSecretVersions, getSecretVersions, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsNext, getSecretVersionsNextAsync, getSecretVersionsNextAsync, getSecretVersionsNextWithServiceResponseAsync, getSecretVersionsWithServiceResponseAsync, getSecretVersionsWithServiceResponseAsync, getSecretWithServiceResponseAsync, getStorageAccount, getStorageAccountAsync, getStorageAccountAsync, getStorageAccounts, getStorageAccounts, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsNext, getStorageAccountsNextAsync, getStorageAccountsNextAsync, getStorageAccountsNextWithServiceResponseAsync, getStorageAccountsWithServiceResponseAsync, getStorageAccountsWithServiceResponseAsync, getStorageAccountWithServiceResponseAsync, importCertificate, importCertificate, importCertificateAsync, importCertificateAsync, importCertificateAsync, importCertificateAsync, importCertificateWithServiceResponseAsync, importCertificateWithServiceResponseAsync, importKey, importKey, importKeyAsync, importKeyAsync, importKeyAsync, importKeyAsync, importKeyWithServiceResponseAsync, importKeyWithServiceResponseAsync, longRunningOperationRetryTimeout, mergeCertificate, mergeCertificate, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateWithServiceResponseAsync, mergeCertificateWithServiceResponseAsync, purgeDeletedCertificate, purgeDeletedCertificateAsync, purgeDeletedCertificateAsync, purgeDeletedCertificateWithServiceResponseAsync, purgeDeletedKey, purgeDeletedKeyAsync, purgeDeletedKeyAsync, purgeDeletedKeyWithServiceResponseAsync, purgeDeletedSecret, purgeDeletedSecretAsync, purgeDeletedSecretAsync, purgeDeletedSecretWithServiceResponseAsync, purgeDeletedStorageAccount, purgeDeletedStorageAccountAsync, purgeDeletedStorageAccountAsync, purgeDeletedStorageAccountWithServiceResponseAsync, recoverDeletedCertificate, recoverDeletedCertificateAsync, recoverDeletedCertificateAsync, recoverDeletedCertificateWithServiceResponseAsync, recoverDeletedKey, recoverDeletedKeyAsync, recoverDeletedKeyAsync, recoverDeletedKeyWithServiceResponseAsync, recoverDeletedSasDefinition, recoverDeletedSasDefinitionAsync, recoverDeletedSasDefinitionAsync, recoverDeletedSasDefinitionWithServiceResponseAsync, recoverDeletedSecret, recoverDeletedSecretAsync, recoverDeletedSecretAsync, recoverDeletedSecretWithServiceResponseAsync, recoverDeletedStorageAccount, recoverDeletedStorageAccountAsync, recoverDeletedStorageAccountAsync, recoverDeletedStorageAccountWithServiceResponseAsync, regenerateStorageAccountKey, regenerateStorageAccountKeyAsync, regenerateStorageAccountKeyAsync, regenerateStorageAccountKeyWithServiceResponseAsync, restoreCertificate, restoreCertificateAsync, restoreCertificateAsync, restoreCertificateWithServiceResponseAsync, restoreKey, restoreKeyAsync, restoreKeyAsync, restoreKeyWithServiceResponseAsync, restoreSecret, restoreSecretAsync, restoreSecretAsync, restoreSecretWithServiceResponseAsync, restoreStorageAccount, restoreStorageAccountAsync, restoreStorageAccountAsync, restoreStorageAccountWithServiceResponseAsync, setCertificateContacts, setCertificateContactsAsync, setCertificateContactsAsync, setCertificateContactsWithServiceResponseAsync, setCertificateIssuer, setCertificateIssuer, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerWithServiceResponseAsync, setCertificateIssuerWithServiceResponseAsync, setSasDefinition, setSasDefinition, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionWithServiceResponseAsync, setSasDefinitionWithServiceResponseAsync, setSecret, setSecret, setSecretAsync, setSecretAsync, setSecretAsync, setSecretAsync, setSecretWithServiceResponseAsync, setSecretWithServiceResponseAsync, setStorageAccount, setStorageAccount, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountWithServiceResponseAsync, setStorageAccountWithServiceResponseAsync, sign, signAsync, signAsync, signWithServiceResponseAsync, unwrapKey, unwrapKeyAsync, unwrapKeyAsync, unwrapKeyWithServiceResponseAsync, updateCertificate, updateCertificate, updateCertificateAsync, updateCertificateAsync, updateCertificateAsync, updateCertificateAsync, updateCertificateIssuer, updateCertificateIssuer, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerWithServiceResponseAsync, updateCertificateIssuerWithServiceResponseAsync, updateCertificateOperation, updateCertificateOperationAsync, updateCertificateOperationAsync, updateCertificateOperationWithServiceResponseAsync, updateCertificatePolicy, updateCertificatePolicyAsync, updateCertificatePolicyAsync, updateCertificatePolicyWithServiceResponseAsync, updateCertificateWithServiceResponseAsync, updateCertificateWithServiceResponseAsync, updateKey, updateKey, updateKeyAsync, updateKeyAsync, updateKeyAsync, updateKeyAsync, updateKeyWithServiceResponseAsync, updateKeyWithServiceResponseAsync, updateSasDefinition, updateSasDefinition, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionWithServiceResponseAsync, updateSasDefinitionWithServiceResponseAsync, updateSecret, updateSecret, updateSecretAsync, updateSecretAsync, updateSecretAsync, updateSecretAsync, updateSecretWithServiceResponseAsync, updateSecretWithServiceResponseAsync, updateStorageAccount, updateStorageAccount, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountWithServiceResponseAsync, updateStorageAccountWithServiceResponseAsync, userAgent, verify, verifyAsync, verifyAsync, verifyWithServiceResponseAsync, withAcceptLanguage, withGenerateClientRequestId, withLongRunningOperationRetryTimeout, wrapKey, wrapKeyAsync, wrapKeyAsync, wrapKeyWithServiceResponseAsync
-
Methods inherited from interface com.microsoft.azure.keyvault.KeyVaultClientCustom
restClient, retrofit
-
-
-
-
Method Detail
-
initializeService
public void initializeService()
Initializes the service.- Specified by:
initializeService
in interfaceKeyVaultClientCustom
-
httpClient
public okhttp3.OkHttpClient httpClient()
- Specified by:
httpClient
in interfaceKeyVaultClientCustom
- Overrides:
httpClient
in classcom.microsoft.rest.ServiceClient
- Returns:
- the HTTP client.
-
serializerAdapter
public com.microsoft.rest.protocol.SerializerAdapter<?> serializerAdapter()
- Specified by:
serializerAdapter
in interfaceKeyVaultClientCustom
- Overrides:
serializerAdapter
in classcom.microsoft.rest.ServiceClient
- Returns:
- the adapter to a Jackson
ObjectMapper
.
-
createKey
public KeyBundle createKey(CreateKeyRequest createKeyRequest)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. Authorization: Requires the keys/create permission.- Specified by:
createKey
in interfaceKeyVaultClientCustom
- Parameters:
createKeyRequest
- the grouped properties for creating a key request- Returns:
- the KeyBundle if successful.
-
createKeyAsync
public com.microsoft.rest.ServiceFuture<KeyBundle> createKeyAsync(CreateKeyRequest createKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. Authorization: Requires the keys/create permission.- Specified by:
createKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
createKeyRequest
- the grouped properties for creating a key requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
importKey
public KeyBundle importKey(ImportKeyRequest importKeyRequest)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. Authorization: requires the keys/import permission.- Specified by:
importKey
in interfaceKeyVaultClientCustom
- Parameters:
importKeyRequest
- the grouped properties for importing a key request- Returns:
- the KeyBundle if successful.
-
importKeyAsync
public com.microsoft.rest.ServiceFuture<KeyBundle> importKeyAsync(ImportKeyRequest importKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. Authorization: requires the keys/import permission.- Specified by:
importKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
importKeyRequest
- the grouped properties for importing a key requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateKey
public KeyBundle updateKey(UpdateKeyRequest updateKeyRequest)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission.- Specified by:
updateKey
in interfaceKeyVaultClientCustom
- Parameters:
updateKeyRequest
- the grouped properties for updating a key request- Returns:
- the KeyBundle if successful.
-
updateKeyAsync
public com.microsoft.rest.ServiceFuture<KeyBundle> updateKeyAsync(UpdateKeyRequest updateKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission.- Specified by:
updateKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
updateKeyRequest
- the grouped properties for updating a key requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getKey
public KeyBundle getKey(String keyIdentifier)
Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.- Specified by:
getKey
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifier- Returns:
- the KeyBundle if successful.
-
getKeyAsync
public com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync(String keyIdentifier, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.- Specified by:
getKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifierserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getKey
public KeyBundle getKey(String vaultBaseUrl, String keyName)
Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.- Specified by:
getKey
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netkeyName
- The name of the key- Returns:
- the KeyBundle if successful.
-
getKeyAsync
public com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.- Specified by:
getKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netkeyName
- The name of the keyserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listKeyVersions
public com.microsoft.azure.PagedList<KeyItem> listKeyVersions(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission.- Specified by:
listKeyVersions
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netkeyName
- The name of the key- Returns:
- the PagedList<KeyItem> if successful.
-
wrapKeyAsync
public com.microsoft.rest.ServiceFuture<KeyOperationResult> wrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Wraps a symmetric key using the specified key.- Specified by:
wrapKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the key to be wrappedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
unwrapKey
public KeyOperationResult unwrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Unwraps a symmetric key using the specified key in the vault that has initially been used for wrapping the key.- Specified by:
unwrapKey
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the key to be unwrapped- Returns:
- the KeyOperationResult if successful.
-
unwrapKeyAsync
public com.microsoft.rest.ServiceFuture<KeyOperationResult> unwrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Unwraps a symmetric key using the specified key in the vault that has initially been used for wrapping the key.- Specified by:
unwrapKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the key to be unwrappedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
wrapKey
public KeyOperationResult wrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using the specified key.- Specified by:
wrapKey
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the key to be wrapped- Returns:
- the KeyOperationResult if successful.
-
listKeyVersionsAsync
public com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeyVersionsAsync(String vaultBaseUrl, String keyName, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission.- Specified by:
listKeyVersionsAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netkeyName
- The name of the keyserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listKeyVersionsAsync
public com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeyVersionsAsync(String vaultBaseUrl, String keyName, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission.- Specified by:
listKeyVersionsAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netkeyName
- The name of the keymaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listKeyVersions
public com.microsoft.azure.PagedList<KeyItem> listKeyVersions(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission.- Specified by:
listKeyVersions
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netkeyName
- The name of the keymaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<KeyItem> if successful.
-
listKeys
public com.microsoft.azure.PagedList<KeyItem> listKeys(String vaultBaseUrl)
List keys in the specified vault.- Specified by:
listKeys
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net- Returns:
- the PagedList<KeyItem> if successful.
-
listKeysAsync
public com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeysAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.- Specified by:
listKeysAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listKeysAsync
public com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeysAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.- Specified by:
listKeysAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listKeys
public com.microsoft.azure.PagedList<KeyItem> listKeys(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault.- Specified by:
listKeys
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<KeyItem> if successful.
-
encrypt
public KeyOperationResult encrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.- Specified by:
encrypt
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be encrypted- Returns:
- the KeyOperationResult if successful.
-
encryptAsync
public com.microsoft.rest.ServiceFuture<KeyOperationResult> encryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.- Specified by:
encryptAsync
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be encryptedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
decrypt
public KeyOperationResult decrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data.- Specified by:
decrypt
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be decrypted- Returns:
- the KeyOperationResult if successful.
-
decryptAsync
public com.microsoft.rest.ServiceFuture<KeyOperationResult> decryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Decrypts a single block of encrypted data.- Specified by:
decryptAsync
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be decryptedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
sign
public KeyOperationResult sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key.- Specified by:
sign
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be signed- Returns:
- the KeyOperationResult if successful.
-
signAsync
public com.microsoft.rest.ServiceFuture<KeyOperationResult> signAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Creates a signature from a digest using the specified key.- Specified by:
signAsync
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be signedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
verify
public KeyVerifyResult verify(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using the specified key.- Specified by:
verify
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.digest
- The digest used for signingsignature
- The signature to be verified- Returns:
- the KeyVerifyResult if successful.
-
verifyAsync
public com.microsoft.rest.ServiceFuture<KeyVerifyResult> verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, com.microsoft.rest.ServiceCallback<KeyVerifyResult> serviceCallback)
Verifies a signature using the specified key.- Specified by:
verifyAsync
in interfaceKeyVaultClientCustom
- Parameters:
keyIdentifier
- The full key identifieralgorithm
- The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.digest
- The digest used for signingsignature
- The signature to be verifiedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
setSecret
public SecretBundle setSecret(SetSecretRequest setSecretRequest)
Sets a secret in the specified vault.- Specified by:
setSecret
in interfaceKeyVaultClientCustom
- Parameters:
setSecretRequest
- the grouped properties for setting a secret request- Returns:
- the SecretBundle if successful.
-
setSecretAsync
public com.microsoft.rest.ServiceFuture<SecretBundle> setSecretAsync(SetSecretRequest setSecretRequest, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Sets a secret in the specified vault.- Specified by:
setSecretAsync
in interfaceKeyVaultClientCustom
- Parameters:
setSecretRequest
- the grouped properties for setting a secret requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateSecret
public SecretBundle updateSecret(UpdateSecretRequest updateSecretRequest)
Updates the attributes associated with a specified secret in a given key vault.- Specified by:
updateSecret
in interfaceKeyVaultClientCustom
- Parameters:
updateSecretRequest
- the grouped properties for updating a secret request- Returns:
- the SecretBundle if successful.
-
updateSecretAsync
public com.microsoft.rest.ServiceFuture<SecretBundle> updateSecretAsync(UpdateSecretRequest updateSecretRequest, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Updates the attributes associated with a specified secret in a given key vault.- Specified by:
updateSecretAsync
in interfaceKeyVaultClientCustom
- Parameters:
updateSecretRequest
- the grouped properties for updating a secret requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getSecret
public SecretBundle getSecret(String secretIdentifier)
Get a specified secret from a given key vault.- Specified by:
getSecret
in interfaceKeyVaultClientCustom
- Parameters:
secretIdentifier
- The URL for the secret.- Returns:
- the SecretBundle if successful.
-
getSecretAsync
public com.microsoft.rest.ServiceFuture<SecretBundle> getSecretAsync(String secretIdentifier, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.- Specified by:
getSecretAsync
in interfaceKeyVaultClientCustom
- Parameters:
secretIdentifier
- The URL for the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getSecret
public SecretBundle getSecret(String vaultBaseUrl, String secretName)
Get a specified secret from a given key vault.- Specified by:
getSecret
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netsecretName
- The name of the secret in the given vault- Returns:
- the SecretBundle if successful.
-
getSecretAsync
public com.microsoft.rest.ServiceFuture<SecretBundle> getSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.- Specified by:
getSecretAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netsecretName
- The name of the secret in the given vaultserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listSecrets
public com.microsoft.azure.PagedList<SecretItem> listSecrets(String vaultBaseUrl)
List secrets in the specified vault.- Specified by:
listSecrets
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net- Returns:
- the PagedList<SecretItem> if successful.
-
listSecretsAsync
public com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in the specified vault.- Specified by:
listSecretsAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listSecrets
public com.microsoft.azure.PagedList<SecretItem> listSecrets(String vaultBaseUrl, Integer maxresults)
List secrets in the specified vault.- Specified by:
listSecrets
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<SecretItem> if successful.
-
listSecretsAsync
public com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in the specified vault.- Specified by:
listSecretsAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listSecretVersions
public com.microsoft.azure.PagedList<SecretItem> listSecretVersions(String vaultBaseUrl, String secretName)
List the versions of the specified secret.- Specified by:
listSecretVersions
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netsecretName
- The name of the secret in the given vault- Returns:
- the PagedList<SecretItem> if successful.
-
listSecretVersionsAsync
public com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretVersionsAsync(String vaultBaseUrl, String secretName, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List the versions of the specified secret.- Specified by:
listSecretVersionsAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netsecretName
- The name of the secret in the given vaultserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listSecretVersions
public com.microsoft.azure.PagedList<SecretItem> listSecretVersions(String vaultBaseUrl, String secretName, Integer maxresults)
List the versions of the specified secret.- Specified by:
listSecretVersions
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netsecretName
- The name of the secret in the given vaultmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<SecretItem> if successful.
-
listSecretVersionsAsync
public com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretVersionsAsync(String vaultBaseUrl, String secretName, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List the versions of the specified secret.- Specified by:
listSecretVersionsAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netsecretName
- The name of the secret in the given vaultmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificates
public com.microsoft.azure.PagedList<CertificateItem> listCertificates(String vaultBaseUrl)
List certificates in the specified vault.- Specified by:
listCertificates
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net- Returns:
- the PagedList<CertificateItem> if successful.
-
listCertificatesAsync
public com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificatesAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in the specified vault.- Specified by:
listCertificatesAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificates
public com.microsoft.azure.PagedList<CertificateItem> listCertificates(String vaultBaseUrl, Integer maxresults)
List certificates in the specified vault.- Specified by:
listCertificates
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<CertificateItem> if successful.
-
listCertificatesAsync
public com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in the specified vault.- Specified by:
listCertificatesAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificateIssuers
public com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers(String vaultBaseUrl)
List certificate issuers for the specified vault.- Specified by:
listCertificateIssuers
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net- Returns:
- the PagedList<CertificateIssuerItem> if successful.
-
listCertificateIssuersAsync
public com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> listCertificateIssuersAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for the specified vault.- Specified by:
listCertificateIssuersAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificateIssuers
public com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers(String vaultBaseUrl, Integer maxresults)
List certificate issuers for the specified vault.- Specified by:
listCertificateIssuers
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<CertificateIssuerItem> if successful.
-
listCertificateIssuersAsync
public com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> listCertificateIssuersAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for the specified vault.- Specified by:
listCertificateIssuersAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netmaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
setCertificateIssuer
public IssuerBundle setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest)
Sets the certificate contacts for the specified vault.- Specified by:
setCertificateIssuer
in interfaceKeyVaultClientCustom
- Parameters:
setCertificateIssuerRequest
- the grouped properties for setting a certificate issuer request- Returns:
- the IssuerBundle if successful.
-
setCertificateIssuerAsync
public com.microsoft.rest.ServiceFuture<IssuerBundle> setCertificateIssuerAsync(SetCertificateIssuerRequest setCertificateIssuerRequest, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Sets the certificate contacts for the specified vault.- Specified by:
setCertificateIssuerAsync
in interfaceKeyVaultClientCustom
- Parameters:
setCertificateIssuerRequest
- the grouped properties for setting a certificate issuer requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateCertificateIssuer
public IssuerBundle updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest)
Updates the specified certificate issuer.- Specified by:
updateCertificateIssuer
in interfaceKeyVaultClientCustom
- Parameters:
updateCertificateIssuerRequest
- the grouped properties for updating a certificate issuer request- Returns:
- the IssuerBundle if successful.
-
updateCertificateIssuerAsync
public com.microsoft.rest.ServiceFuture<IssuerBundle> updateCertificateIssuerAsync(UpdateCertificateIssuerRequest updateCertificateIssuerRequest, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Updates the specified certificate issuer.- Specified by:
updateCertificateIssuerAsync
in interfaceKeyVaultClientCustom
- Parameters:
updateCertificateIssuerRequest
- the grouped properties for updating a certificate issuer requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if callback is null
-
createCertificate
public CertificateOperation createCertificate(CreateCertificateRequest createCertificateRequest)
Creates a new certificate version. If this is the first version, the certificate resource is created.- Specified by:
createCertificate
in interfaceKeyVaultClientCustom
- Parameters:
createCertificateRequest
- the grouped properties for creating a certificate request- Returns:
- the CertificateOperation if successful.
-
createCertificateAsync
public com.microsoft.rest.ServiceFuture<CertificateOperation> createCertificateAsync(CreateCertificateRequest createCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Creates a new certificate version. If this is the first version, the certificate resource is created.- Specified by:
createCertificateAsync
in interfaceKeyVaultClientCustom
- Parameters:
createCertificateRequest
- the grouped properties for creating a certificate requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
importCertificate
public CertificateBundle importCertificate(ImportCertificateRequest importCertificateRequest)
Imports a certificate into the specified vault.- Specified by:
importCertificate
in interfaceKeyVaultClientCustom
- Parameters:
importCertificateRequest
- the grouped properties for importing a certificate request- Returns:
- the CertificateBundle if successful.
-
importCertificateAsync
public com.microsoft.rest.ServiceFuture<CertificateBundle> importCertificateAsync(ImportCertificateRequest importCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Imports a certificate into the specified vault.- Specified by:
importCertificateAsync
in interfaceKeyVaultClientCustom
- Parameters:
importCertificateRequest
- the grouped properties for importing a certificate requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificateVersions
public com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions(String vaultBaseUrl, String certificateName)
List the versions of a certificate.- Specified by:
listCertificateVersions
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificate- Returns:
- the PagedList<CertificateItem> if successful.
-
listCertificateVersionsAsync
public com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificateVersionsAsync(String vaultBaseUrl, String certificateName, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.- Specified by:
listCertificateVersionsAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificateserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificateVersions
public com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate.- Specified by:
listCertificateVersions
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificatemaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<CertificateItem> if successful.
-
listCertificateVersionsAsync
public com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificateVersionsAsync(String vaultBaseUrl, String certificateName, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.- Specified by:
listCertificateVersionsAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificatemaxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateCertificatePolicy
public CertificatePolicy updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest)
Updates the policy for a certificate. Set appropriate members in the certificatePolicy that must be updated. Leave others as null.- Specified by:
updateCertificatePolicy
in interfaceKeyVaultClientCustom
- Parameters:
updateCertificatePolicyRequest
- the grouped properties for updating a certificate policy request- Returns:
- the CertificatePolicy if successful.
-
updateCertificatePolicyAsync
public com.microsoft.rest.ServiceFuture<CertificatePolicy> updateCertificatePolicyAsync(UpdateCertificatePolicyRequest updateCertificatePolicyRequest, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Updates the policy for a certificate. Set appropriate members in the certificatePolicy that must be updated. Leave others as null.- Specified by:
updateCertificatePolicyAsync
in interfaceKeyVaultClientCustom
- Parameters:
updateCertificatePolicyRequest
- the grouped properties for updating a certificate policy requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateCertificate
public CertificateBundle updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the attributes associated with the specified certificate.- Specified by:
updateCertificate
in interfaceKeyVaultClientCustom
- Parameters:
updateCertificateRequest
- the grouped properties for updating a certificate request- Returns:
- the CertificateBundle if successful.
-
updateCertificateAsync
public com.microsoft.rest.ServiceFuture<CertificateBundle> updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Updates the attributes associated with the specified certificate.- Specified by:
updateCertificateAsync
in interfaceKeyVaultClientCustom
- Parameters:
updateCertificateRequest
- the grouped properties for updating a certificate requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getCertificate
public CertificateBundle getCertificate(String certificateIdentifier)
Gets information about a specified certificate.- Specified by:
getCertificate
in interfaceKeyVaultClientCustom
- Parameters:
certificateIdentifier
- The certificate identifier- Returns:
- the CertificateBundle if successful.
-
getCertificateAsync
public com.microsoft.rest.ServiceFuture<CertificateBundle> getCertificateAsync(String certificateIdentifier, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a specified certificate.- Specified by:
getCertificateAsync
in interfaceKeyVaultClientCustom
- Parameters:
certificateIdentifier
- The certificate identifierserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getCertificate
public CertificateBundle getCertificate(String vaultBaseUrl, String certificateName)
Gets information about a specified certificate.- Specified by:
getCertificate
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificate in the given vault- Returns:
- the CertificateBundle if successful.
-
getCertificateAsync
public com.microsoft.rest.ServiceFuture<CertificateBundle> getCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a specified certificate.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificate in the given vaultserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateCertificateOperation
public CertificateOperation updateCertificateOperation(UpdateCertificateOperationRequest updateCertificateOperationRequest)
Updates a certificate operation.- Specified by:
updateCertificateOperation
in interfaceKeyVaultClientCustom
- Parameters:
updateCertificateOperationRequest
- the grouped properties for updating a certificate operation request- Returns:
- the CertificateOperation if successful.
-
updateCertificateOperationAsync
public com.microsoft.rest.ServiceFuture<CertificateOperation> updateCertificateOperationAsync(UpdateCertificateOperationRequest updateCertificateOperationRequest, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Updates a certificate operation.- Specified by:
updateCertificateOperationAsync
in interfaceKeyVaultClientCustom
- Parameters:
updateCertificateOperationRequest
- the grouped properties for updating a certificate operation requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
mergeCertificate
public CertificateBundle mergeCertificate(MergeCertificateRequest mergeCertificateRequest)
Merges a certificate or a certificate chain with a key pair existing on the server.- Specified by:
mergeCertificate
in interfaceKeyVaultClientCustom
- Parameters:
mergeCertificateRequest
- the grouped properties for merging a certificate request- Returns:
- the CertificateBundle if successful.
-
mergeCertificateAsync
public com.microsoft.rest.ServiceFuture<CertificateBundle> mergeCertificateAsync(MergeCertificateRequest mergeCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Merges a certificate or a certificate chain with a key pair existing on the server.- Specified by:
mergeCertificateAsync
in interfaceKeyVaultClientCustom
- Parameters:
mergeCertificateRequest
- the grouped properties for merging a certificate requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getPendingCertificateSigningRequest
public String getPendingCertificateSigningRequest(String vaultBaseUrl, String certificateName)
Gets the pending certificate signing request response.- Specified by:
getPendingCertificateSigningRequest
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificate- Returns:
- the String if successful.
-
getPendingCertificateSigningRequestAsync
public com.microsoft.rest.ServiceFuture<String> getPendingCertificateSigningRequestAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<String> serviceCallback)
Gets the pending certificate signing request response.- Specified by:
getPendingCertificateSigningRequestAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificateserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
createKey
public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Description copied from interface:KeyVaultClientCustom
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.- Specified by:
createKey
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bytes. For example, 1024 or 2048.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the KeyBundle object if successful.
-
createKeyAsync
public com.microsoft.rest.ServiceFuture<KeyBundle> createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Description copied from interface:KeyVaultClientCustom
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.- Specified by:
createKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bytes. For example, 1024 or 2048.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
createKeyAsync
public rx.Observable<KeyBundle> createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Description copied from interface:KeyVaultClientCustom
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.- Specified by:
createKeyAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bytes. For example, 1024 or 2048.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the KeyBundle object
-
createKeyWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Description copied from interface:KeyVaultClientCustom
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.- Specified by:
createKeyWithServiceResponseAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bytes. For example, 1024 or 2048.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the KeyBundle object
-
getCertificates
public com.microsoft.azure.PagedList<CertificateItem> getCertificates(String vaultBaseUrl, Integer maxresults)
Description copied from interface:KeyVaultClientCustom
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Specified by:
getCertificates
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<CertificateItem> object if successful.
-
getCertificatesAsync
public com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
Description copied from interface:KeyVaultClientCustom
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Specified by:
getCertificatesAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getCertificatesAsync
public rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificatesAsync(String vaultBaseUrl, Integer maxresults)
Description copied from interface:KeyVaultClientCustom
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Specified by:
getCertificatesAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<CertificateItem> object
-
getCertificatesWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Description copied from interface:KeyVaultClientCustom
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Specified by:
getCertificatesWithServiceResponseAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<CertificateItem> object
-
getDeletedCertificates
public com.microsoft.azure.PagedList<DeletedCertificateItem> getDeletedCertificates(String vaultBaseUrl, Integer maxresults)
Description copied from interface:KeyVaultClientCustom
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Specified by:
getDeletedCertificates
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<DeletedCertificateItem> object if successful.
-
getDeletedCertificatesAsync
public com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>> getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Description copied from interface:KeyVaultClientCustom
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Specified by:
getDeletedCertificatesAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getDeletedCertificatesAsync
public rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>> getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults)
Description copied from interface:KeyVaultClientCustom
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Specified by:
getDeletedCertificatesAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
-
getDeletedCertificatesWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>> getDeletedCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Description copied from interface:KeyVaultClientCustom
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Specified by:
getDeletedCertificatesWithServiceResponseAsync
in interfaceKeyVaultClientCustom
- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
-
-