Class KeyVaultClientCustomImpl

    • Constructor Detail

      • KeyVaultClientCustomImpl

        protected KeyVaultClientCustomImpl​(com.microsoft.rest.credentials.ServiceClientCredentials credentials)
      • KeyVaultClientCustomImpl

        protected KeyVaultClientCustomImpl​(com.microsoft.rest.RestClient restClient)
    • Method Detail

      • httpClient

        public okhttp3.OkHttpClient httpClient()
        Specified by:
        httpClient in interface KeyVaultClientCustom
        Overrides:
        httpClient in class com.microsoft.rest.ServiceClient
        Returns:
        the HTTP client.
      • serializerAdapter

        public com.microsoft.rest.protocol.SerializerAdapter<?> serializerAdapter()
        Specified by:
        serializerAdapter in interface KeyVaultClientCustom
        Overrides:
        serializerAdapter in class com.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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        Parameters:
        createKeyRequest - the grouped properties for creating a key request
        serviceCallback - 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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        Parameters:
        keyIdentifier - The full key identifier
        serviceCallback - 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 interface KeyVaultClientCustom
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        keyName - 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 interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        keyName - 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 interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - 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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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.
      • listKeys

        public com.microsoft.azure.PagedList<KeyItem> listKeys​(String vaultBaseUrl)
        List keys in the specified vault.
        Specified by:
        listKeys in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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
      • listKeys

        public com.microsoft.azure.PagedList<KeyItem> listKeys​(String vaultBaseUrl,
                                                               Integer maxresults)
        List keys in the specified vault.
        Specified by:
        listKeys in interface KeyVaultClientCustom
        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.
      • 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 interface KeyVaultClientCustom
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - 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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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

        public KeyOperationResult sign​(String keyIdentifier,
                                       JsonWebKeySignatureAlgorithm algorithm,
                                       byte[] value)
        Creates a signature from a digest using the specified key.
        Specified by:
        sign in interface KeyVaultClientCustom
        Parameters:
        keyIdentifier - The full key identifier
        algorithm - algorithm identifier
        value - 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 interface KeyVaultClientCustom
        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

        public KeyVerifyResult verify​(String keyIdentifier,
                                      JsonWebKeySignatureAlgorithm algorithm,
                                      byte[] digest,
                                      byte[] signature)
        Verifies a signature using the specified key.
        Specified by:
        verify in interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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

        public SecretBundle setSecret​(SetSecretRequest setSecretRequest)
        Sets a secret in the specified vault.
        Specified by:
        setSecret in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        public SecretBundle updateSecret​(UpdateSecretRequest updateSecretRequest)
        Updates the attributes associated with a specified secret in a given key vault.
        Specified by:
        updateSecret in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        public SecretBundle getSecret​(String secretIdentifier)
        Get a specified secret from a given key vault.
        Specified by:
        getSecret in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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

        public com.microsoft.azure.PagedList<SecretItem> listSecrets​(String vaultBaseUrl)
        List secrets in the specified vault.
        Specified by:
        listSecrets in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        public com.microsoft.azure.PagedList<SecretItem> listSecrets​(String vaultBaseUrl,
                                                                     Integer maxresults)
        List secrets in the specified vault.
        Specified by:
        listSecrets in interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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

        public com.microsoft.azure.PagedList<SecretItem> listSecretVersions​(String vaultBaseUrl,
                                                                            String secretName)
        List the versions of the specified secret.
        Specified by:
        listSecretVersions in interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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

        public com.microsoft.azure.PagedList<SecretItem> listSecretVersions​(String vaultBaseUrl,
                                                                            String secretName,
                                                                            Integer maxresults)
        List the versions of the specified secret.
        Specified by:
        listSecretVersions in interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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
      • listCertificates

        public com.microsoft.azure.PagedList<CertificateItem> listCertificates​(String vaultBaseUrl)
        List certificates in the specified vault.
        Specified by:
        listCertificates in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        public com.microsoft.azure.PagedList<CertificateItem> listCertificates​(String vaultBaseUrl,
                                                                               Integer maxresults)
        List certificates in the specified vault.
        Specified by:
        listCertificates in interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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

        public com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers​(String vaultBaseUrl)
        List certificate issuers for the specified vault.
        Specified by:
        listCertificateIssuers in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        public com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers​(String vaultBaseUrl,
                                                                                           Integer maxresults)
        List certificate issuers for the specified vault.
        Specified by:
        listCertificateIssuers in interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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

        public IssuerBundle setCertificateIssuer​(SetCertificateIssuerRequest setCertificateIssuerRequest)
        Sets the certificate contacts for the specified vault.
        Specified by:
        setCertificateIssuer in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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

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

        public com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions​(String vaultBaseUrl,
                                                                                      String certificateName)
        List the versions of a certificate.
        Specified by:
        listCertificateVersions in interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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

        public com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions​(String vaultBaseUrl,
                                                                                      String certificateName,
                                                                                      Integer maxresults)
        List the versions of a certificate.
        Specified by:
        listCertificateVersions in interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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

        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        public CertificateBundle updateCertificate​(UpdateCertificateRequest updateCertificateRequest)
        Updates the attributes associated with the specified certificate.
        Specified by:
        updateCertificate in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        public CertificateBundle getCertificate​(String certificateIdentifier)
        Gets information about a specified certificate.
        Specified by:
        getCertificate in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        Parameters:
        certificateIdentifier - The certificate identifier
        serviceCallback - 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 interface KeyVaultClientCustom
        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.
      • 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.net
        certificateName - The name of the certificate in the given vault
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
      • updateCertificateOperationAsync

        public com.microsoft.rest.ServiceFuture<CertificateOperation> updateCertificateOperationAsync​(UpdateCertificateOperationRequest updateCertificateOperationRequest,
                                                                                                      com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
        Updates a certificate operation.
        Specified by:
        updateCertificateOperationAsync in interface KeyVaultClientCustom
        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

        public CertificateBundle mergeCertificate​(MergeCertificateRequest mergeCertificateRequest)
        Merges a certificate or a certificate chain with a key pair existing on the server.
        Specified by:
        mergeCertificate in interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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

        public String getPendingCertificateSigningRequest​(String vaultBaseUrl,
                                                          String certificateName)
        Gets the pending certificate signing request response.
        Specified by:
        getPendingCertificateSigningRequest in interface KeyVaultClientCustom
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        certificateName - 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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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.
      • 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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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
      • 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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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 interface KeyVaultClientCustom
        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