public async void ReadMountConfiguration() { using (var client = new VaultClient(TestVaultAddress)) { client.VaultToken = TestRootToken; // Some of the config elements we expect to be there in a default setup var expectedConfigAndTypes = new Dictionary <string, Type> { ["default_lease_ttl"] = typeof(int), ["max_lease_ttl"] = typeof(int), ["force_no_cache"] = typeof(bool), }; var config = await client.ReadMountConfigurationAsync("sys/"); Assert.Superset( expectedConfigAndTypes.Keys.ToHashSet(), config.Data.Keys.ToHashSet()); } }