Interface KeyVaultClientCustom

    • Method Detail

      • retrofit

        retrofit2.Retrofit retrofit()
        Returns:
        the Retrofit instance.
      • httpClient

        okhttp3.OkHttpClient httpClient()
        Returns:
        the HTTP client.
      • serializerAdapter

        com.microsoft.rest.protocol.SerializerAdapter<?> serializerAdapter()
        Returns:
        the adapter to a Jackson ObjectMapper.
      • initializeService

        void initializeService()
        Initializes the service.
      • createKey

        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.
        Parameters:
        createKeyRequest - the grouped properties for creating a key request
        Returns:
        the KeyBundle if successful.
      • createKey

        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. 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.
        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> value
        keyAttributes - the KeyAttributes value
        tags - Application specific metadata in the form of key-value pairs.
        Returns:
        the KeyBundle object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        KeyVaultErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createKeyAsync

        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.
        Parameters:
        createKeyRequest - the grouped properties for creating a key request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • createKeyAsync

        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. 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.
        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> value
        keyAttributes - the KeyAttributes value
        tags - Application specific metadata in the form of key-value pairs.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createKeyAsync

        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. 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.
        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> value
        keyAttributes - the KeyAttributes value
        tags - Application specific metadata in the form of key-value pairs.
        Returns:
        the observable to the KeyBundle object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createKeyWithServiceResponseAsync

        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. 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.
        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> value
        keyAttributes - the KeyAttributes value
        tags - Application specific metadata in the form of key-value pairs.
        Returns:
        the observable to the KeyBundle object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importKey

        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.
        Parameters:
        importKeyRequest - the grouped properties for importing a key request
        Returns:
        the KeyBundle if successful.
      • importKeyAsync

        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.
        Parameters:
        importKeyRequest - the grouped properties for importing a key request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • updateKey

        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.
        Parameters:
        updateKeyRequest - the grouped properties for updating a key request
        Returns:
        the KeyBundle if successful.
      • updateKeyAsync

        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.
        Parameters:
        updateKeyRequest - the grouped properties for updating a key request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • getKey

        KeyBundle getKey​(String keyIdentifier)
        Gets the 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.
        Parameters:
        keyIdentifier - The full key identifier
        Returns:
        the KeyBundle if successful.
      • getKeyAsync

        com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync​(String keyIdentifier,
                                                                com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
        Gets the 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.
        Parameters:
        keyIdentifier - The full key identifier
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • getKey

        KeyBundle getKey​(String vaultBaseUrl,
                         String keyName)
        Gets the 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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        keyName - The name of the key
        Returns:
        the KeyBundle if successful.
      • getKeyAsync

        com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync​(String vaultBaseUrl,
                                                                String keyName,
                                                                com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
        Gets the 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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        keyName - The name of the key
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listKeyVersions

        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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        keyName - The name of the key
        Returns:
        the PagedList<KeyItem> if successful.
      • listKeyVersionsAsync

        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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        keyName - The name of the key
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listKeyVersions

        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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        keyName - The name of the key
        maxresults - 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.
      • listKeyVersionsAsync

        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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        keyName - The name of the key
        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
      • listKeys

        com.microsoft.azure.PagedList<KeyItem> listKeys​(String vaultBaseUrl)
        List keys in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        Returns:
        the PagedList<KeyItem> if successful.
      • listKeysAsync

        com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeysAsync​(String vaultBaseUrl,
                                                                      com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
        List keys in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listKeys

        com.microsoft.azure.PagedList<KeyItem> listKeys​(String vaultBaseUrl,
                                                        Integer maxresults)
        List keys in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. 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<KeyItem> if successful.
      • listKeysAsync

        com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeysAsync​(String vaultBaseUrl,
                                                                      Integer maxresults,
                                                                      com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
        List keys in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. 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
      • wrapKeyAsync

        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.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the key to be wrapped
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • unwrapKey

        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.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the key to be unwrapped
        Returns:
        the KeyOperationResult if successful.
      • unwrapKeyAsync

        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.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the key to be unwrapped
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • wrapKey

        KeyOperationResult wrapKey​(String keyIdentifier,
                                   JsonWebKeyEncryptionAlgorithm algorithm,
                                   byte[] value)
        Wraps a symmetric key using the specified key.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the key to be wrapped
        Returns:
        the KeyOperationResult if successful.
      • encrypt

        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.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the content to be encrypted
        Returns:
        the KeyOperationResult if successful.
      • encryptAsync

        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.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the content to be encrypted
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • decrypt

        KeyOperationResult decrypt​(String keyIdentifier,
                                   JsonWebKeyEncryptionAlgorithm algorithm,
                                   byte[] value)
        Decrypts a single block of encrypted data.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the content to be decrypted
        Returns:
        the KeyOperationResult if successful.
      • decryptAsync

        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.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the content to be decrypted
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • sign

        KeyOperationResult sign​(String keyIdentifier,
                                JsonWebKeySignatureAlgorithm algorithm,
                                byte[] value)
        Creates a signature from a digest using the specified key.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the content to be signed
        Returns:
        the KeyOperationResult if successful.
      • signAsync

        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.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - the content to be signed
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • verify

        KeyVerifyResult verify​(String keyIdentifier,
                               JsonWebKeySignatureAlgorithm algorithm,
                               byte[] digest,
                               byte[] signature)
        Verifies a signature using the specified key.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.
        digest - The digest used for signing
        signature - The signature to be verified
        Returns:
        the KeyVerifyResult if successful.
      • verifyAsync

        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.
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.
        digest - The digest used for signing
        signature - The signature to be verified
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • setSecret

        SecretBundle setSecret​(SetSecretRequest setSecretRequest)
        Sets a secret in the specified vault.
        Parameters:
        setSecretRequest - the grouped properties for setting a secret request
        Returns:
        the SecretBundle if successful.
      • setSecretAsync

        com.microsoft.rest.ServiceFuture<SecretBundle> setSecretAsync​(SetSecretRequest setSecretRequest,
                                                                      com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
        Sets a secret in the specified vault.
        Parameters:
        setSecretRequest - the grouped properties for setting a secret request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • updateSecret

        SecretBundle updateSecret​(UpdateSecretRequest updateSecretRequest)
        Updates the attributes associated with a specified secret in a given key vault.
        Parameters:
        updateSecretRequest - the grouped properties for updating a secret request
        Returns:
        the SecretBundle if successful.
      • updateSecretAsync

        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.
        Parameters:
        updateSecretRequest - the grouped properties for updating a secret request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • getSecret

        SecretBundle getSecret​(String secretIdentifier)
        Get a specified secret from a given key vault.
        Parameters:
        secretIdentifier - The URL for the secret.
        Returns:
        the SecretBundle if successful.
      • getSecretAsync

        com.microsoft.rest.ServiceFuture<SecretBundle> getSecretAsync​(String secretIdentifier,
                                                                      com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
        Get a specified secret from a given key vault.
        Parameters:
        secretIdentifier - The URL for the secret.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • getSecret

        SecretBundle getSecret​(String vaultBaseUrl,
                               String secretName)
        Get a specified secret from a given key vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        secretName - The name of the secret in the given vault
        Returns:
        the SecretBundle if successful.
      • getSecretAsync

        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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        secretName - The name of the secret in the given vault
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listSecrets

        com.microsoft.azure.PagedList<SecretItem> listSecrets​(String vaultBaseUrl)
        List secrets in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        Returns:
        the PagedList<SecretItem> if successful.
      • listSecretsAsync

        com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretsAsync​(String vaultBaseUrl,
                                                                            com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
        List secrets in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listSecrets

        com.microsoft.azure.PagedList<SecretItem> listSecrets​(String vaultBaseUrl,
                                                              Integer maxresults)
        List secrets in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. 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<SecretItem> if successful.
      • listSecretsAsync

        com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretsAsync​(String vaultBaseUrl,
                                                                            Integer maxresults,
                                                                            com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
        List secrets in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. 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
      • listSecretVersions

        com.microsoft.azure.PagedList<SecretItem> listSecretVersions​(String vaultBaseUrl,
                                                                     String secretName)
        List the versions of the specified secret.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        secretName - The name of the secret in the given vault
        Returns:
        the PagedList<SecretItem> if successful.
      • listSecretVersionsAsync

        com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretVersionsAsync​(String vaultBaseUrl,
                                                                                   String secretName,
                                                                                   com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
        List the versions of the specified secret.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        secretName - The name of the secret in the given vault
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listSecretVersions

        com.microsoft.azure.PagedList<SecretItem> listSecretVersions​(String vaultBaseUrl,
                                                                     String secretName,
                                                                     Integer maxresults)
        List the versions of the specified secret.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        secretName - The name of the secret in the given vault
        maxresults - 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

        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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        secretName - The name of the secret in the given vault
        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
      • getCertificates

        com.microsoft.azure.PagedList<CertificateItem> getCertificates​(String vaultBaseUrl,
                                                                       Integer maxresults)
        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.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        KeyVaultErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getCertificatesAsync

        com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificatesAsync​(String vaultBaseUrl,
                                                                                     Integer maxresults,
                                                                                     com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
        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.
        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
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCertificatesAsync

        rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificatesAsync​(String vaultBaseUrl,
                                                                                      Integer maxresults)
        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.
        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
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCertificatesWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesWithServiceResponseAsync​(String vaultBaseUrl,
                                                                                                                                             Integer maxresults)
        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.
        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
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCertificates

        com.microsoft.azure.PagedList<CertificateItem> listCertificates​(String vaultBaseUrl)
        List certificates in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        Returns:
        the PagedList<CertificateItem> if successful.
      • listCertificatesAsync

        com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificatesAsync​(String vaultBaseUrl,
                                                                                      com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
        List certificates in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listCertificates

        com.microsoft.azure.PagedList<CertificateItem> listCertificates​(String vaultBaseUrl,
                                                                        Integer maxresults)
        List certificates in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. 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> if successful.
      • listCertificatesAsync

        com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificatesAsync​(String vaultBaseUrl,
                                                                                      Integer maxresults,
                                                                                      com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
        List certificates in the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. 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
      • listCertificateIssuers

        com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers​(String vaultBaseUrl)
        List certificate issuers for the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        Returns:
        the PagedList<CertificateIssuerItem> if successful.
      • listCertificateIssuersAsync

        com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> listCertificateIssuersAsync​(String vaultBaseUrl,
                                                                                                  com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
        List certificate issuers for the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listCertificateIssuers

        com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers​(String vaultBaseUrl,
                                                                                    Integer maxresults)
        List certificate issuers for the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. 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<CertificateIssuerItem> if successful.
      • listCertificateIssuersAsync

        com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> listCertificateIssuersAsync​(String vaultBaseUrl,
                                                                                                  Integer maxresults,
                                                                                                  com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
        List certificate issuers for the specified vault.
        Parameters:
        vaultBaseUrl - The vault name, e.g. 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
      • setCertificateIssuer

        IssuerBundle setCertificateIssuer​(SetCertificateIssuerRequest setCertificateIssuerRequest)
        Sets the certificate contacts for the specified vault.
        Parameters:
        setCertificateIssuerRequest - the grouped properties for setting a certificate issuer request
        Returns:
        the IssuerBundle if successful.
      • setCertificateIssuerAsync

        com.microsoft.rest.ServiceFuture<IssuerBundle> setCertificateIssuerAsync​(SetCertificateIssuerRequest setCertificateIssuerRequest,
                                                                                 com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
        Sets the certificate contacts for the specified vault.
        Parameters:
        setCertificateIssuerRequest - the grouped properties for setting a certificate issuer request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • updateCertificateIssuer

        IssuerBundle updateCertificateIssuer​(UpdateCertificateIssuerRequest updateCertificateIssuerRequest)
        Updates the specified certificate issuer.
        Parameters:
        updateCertificateIssuerRequest - the grouped properties for updating a certificate issuer request
        Returns:
        the IssuerBundle if successful.
      • updateCertificateIssuerAsync

        com.microsoft.rest.ServiceFuture<IssuerBundle> updateCertificateIssuerAsync​(UpdateCertificateIssuerRequest updateCertificateIssuerRequest,
                                                                                    com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
        Updates the specified certificate issuer.
        Parameters:
        updateCertificateIssuerRequest - the grouped properties for updating a certificate issuer request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if callback is null
      • createCertificate

        CertificateOperation createCertificate​(CreateCertificateRequest createCertificateRequest)
        Creates a new certificate version. If this is the first version, the certificate resource is created.
        Parameters:
        createCertificateRequest - the grouped properties for creating a certificate request
        Returns:
        the CertificateOperation if successful.
      • createCertificateAsync

        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.
        Parameters:
        createCertificateRequest - the grouped properties for creating a certificate request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • importCertificate

        CertificateBundle importCertificate​(ImportCertificateRequest importCertificateRequest)
        Imports a certificate into the specified vault.
        Parameters:
        importCertificateRequest - the grouped properties for importing a certificate request
        Returns:
        the CertificateBundle if successful.
      • importCertificateAsync

        com.microsoft.rest.ServiceFuture<CertificateBundle> importCertificateAsync​(ImportCertificateRequest importCertificateRequest,
                                                                                   com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
        Imports a certificate into the specified vault.
        Parameters:
        importCertificateRequest - the grouped properties for importing a certificate request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listCertificateVersions

        com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions​(String vaultBaseUrl,
                                                                               String certificateName)
        List the versions of a certificate.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        certificateName - The name of the certificate
        Returns:
        the PagedList<CertificateItem> if successful.
      • listCertificateVersionsAsync

        com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificateVersionsAsync​(String vaultBaseUrl,
                                                                                             String certificateName,
                                                                                             com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
        List the versions of a certificate.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        certificateName - The name of the certificate
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • listCertificateVersions

        com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions​(String vaultBaseUrl,
                                                                               String certificateName,
                                                                               Integer maxresults)
        List the versions of a certificate.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        certificateName - The name of the certificate
        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> if successful.
      • listCertificateVersionsAsync

        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.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        certificateName - The name of the certificate
        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
      • updateCertificatePolicy

        CertificatePolicy updateCertificatePolicy​(UpdateCertificatePolicyRequest updateCertificatePolicyRequest)
        Updates the policy for a certificate. Set appropriate members in the certificatePolicy that must be updated. Leave others as null.
        Parameters:
        updateCertificatePolicyRequest - the grouped properties for updating a certificate policy request
        Returns:
        the CertificatePolicy if successful.
      • updateCertificatePolicyAsync

        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.
        Parameters:
        updateCertificatePolicyRequest - the grouped properties for updating a certificate policy request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • updateCertificate

        CertificateBundle updateCertificate​(UpdateCertificateRequest updateCertificateRequest)
        Updates the attributes associated with the specified certificate.
        Parameters:
        updateCertificateRequest - the grouped properties for updating a certificate request
        Returns:
        the CertificateBundle if successful.
      • updateCertificateAsync

        com.microsoft.rest.ServiceFuture<CertificateBundle> updateCertificateAsync​(UpdateCertificateRequest updateCertificateRequest,
                                                                                   com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
        Updates the attributes associated with the specified certificate.
        Parameters:
        updateCertificateRequest - the grouped properties for updating a certificate request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • getCertificate

        CertificateBundle getCertificate​(String certificateIdentifier)
        Gets information about a specified certificate.
        Parameters:
        certificateIdentifier - The certificate identifier
        Returns:
        the CertificateBundle if successful.
      • getCertificateAsync

        com.microsoft.rest.ServiceFuture<CertificateBundle> getCertificateAsync​(String certificateIdentifier,
                                                                                com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
        Gets information about a specified certificate.
        Parameters:
        certificateIdentifier - The certificate identifier
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • getCertificate

        CertificateBundle getCertificate​(String vaultBaseUrl,
                                         String certificateName)
        Gets information about a specified certificate.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        certificateName - The name of the certificate in the given vault
        Returns:
        the CertificateBundle if successful.
      • updateCertificateOperation

        CertificateOperation updateCertificateOperation​(UpdateCertificateOperationRequest updateCertificateOperationRequest)
        Updates a certificate operation.
        Parameters:
        updateCertificateOperationRequest - the grouped properties for updating a certificate operation request
        Returns:
        the CertificateOperation if successful.
      • updateCertificateOperationAsync

        com.microsoft.rest.ServiceFuture<CertificateOperation> updateCertificateOperationAsync​(UpdateCertificateOperationRequest updateCertificateOperationRequest,
                                                                                               com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
        Updates a certificate operation.
        Parameters:
        updateCertificateOperationRequest - the grouped properties for updating a certificate operation request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • mergeCertificate

        CertificateBundle mergeCertificate​(MergeCertificateRequest mergeCertificateRequest)
        Merges a certificate or a certificate chain with a key pair existing on the server.
        Parameters:
        mergeCertificateRequest - the grouped properties for merging a certificate request
        Returns:
        the CertificateBundle if successful.
      • mergeCertificateAsync

        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.
        Parameters:
        mergeCertificateRequest - the grouped properties for merging a certificate request
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • getPendingCertificateSigningRequest

        String getPendingCertificateSigningRequest​(String vaultBaseUrl,
                                                   String certificateName)
        Gets the pending certificate signing request response.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        certificateName - The name of the certificate
        Returns:
        the String if successful.
      • getPendingCertificateSigningRequestAsync

        com.microsoft.rest.ServiceFuture<String> getPendingCertificateSigningRequestAsync​(String vaultBaseUrl,
                                                                                          String certificateName,
                                                                                          com.microsoft.rest.ServiceCallback<String> serviceCallback)
        Gets the pending certificate signing request response.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        certificateName - The name of the certificate
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • getDeletedCertificates

        com.microsoft.azure.PagedList<DeletedCertificateItem> getDeletedCertificates​(String vaultBaseUrl,
                                                                                     Integer maxresults)
        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.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        KeyVaultErrorException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getDeletedCertificatesAsync

        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. 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.
        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
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDeletedCertificatesAsync

        rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>> getDeletedCertificatesAsync​(String vaultBaseUrl,
                                                                                                    Integer maxresults)
        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.
        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
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDeletedCertificatesWithServiceResponseAsync

        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. 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.
        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
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation