private static void DumpAllVaults(string username, string password, string accountKey, string uuid, string domain) { var session = Client.LogIn(username, password, accountKey, uuid, domain, new TextUi(), new PlainStorage()); try { var vaults = Client.ListAllVaults(session); for (var i = 0; i < vaults.Length; i++) { DumpVault(i, vaults[i], session); } } finally { Client.LogOut(session); } }