/// <summary>
        /// Download the secrets available in a specific Vault, with credentials, and a specific path
        /// </summary>
        /// <param name="groupName">The group name to give to the created group</param>
        /// <param name="vaultUrl">The Vault URL</param>
        /// <param name="vaultAuthPath">The Vault auth path. Can be a LDAP path, or "userpass" for Vault standard authentication</param>
        /// <param name="vaultUsername">The Vault username</param>
        /// <param name="vaultPassword">The Vault password</param>
        /// <param name="vaultPath">The Vault path</param>
        /// <returns></returns>
        private SecretFolder DownloadSecrets(
            string groupName,
            string vaultUrl,
            string vaultAuthPath,
            string vaultUsername,
            string vaultPassword,
            string vaultPath)
        {
            var client       = new SynchronousVaultClient(new Uri(vaultUrl), vaultAuthPath, vaultUsername, vaultPassword, this.syncStatus);
            var secretFolder = client.GetSecrets(vaultPath).Result;

            return(secretFolder);
        }
        /// <summary>
        /// Download the secrets available in a specific Vault, with credentials, and a specific path
        /// </summary>
        /// <param name="groupName">The group name to give to the created group</param>
        /// <param name="vaultUrl">The Vault URL</param>
        /// <param name="vaultAuthPath">The Vault auth path. Can be a LDAP path, or "userpass" for Vault standard authentication</param>
        /// <param name="vaultUsername">The Vault username</param>
        /// <param name="vaultPassword">The Vault password</param>
        /// <param name="vaultPath">The Vault path</param>
        /// <returns></returns>
        private SecretFolder DownloadSecrets(
            string groupName,
            string vaultUrl,
            string vaultAuthPath,
            string vaultUsername,
            string vaultPassword,
            string vaultPath)
        {
            var client = new SynchronousVaultClient(new Uri(vaultUrl), vaultAuthPath, vaultUsername, vaultPassword);

            if (!client.CheckToken())
            {
                KeePassLib.Utility.MessageService.ShowWarning("login to vault not successful.");
                return(null);
            }
            return(client.GetSecrets(vaultPath).Result);
        }