private async Task SecretTests() { var path = "cubbyhole/foo/test"; var secretData = new Dictionary <string, object> { { "1", "1" }, { "2", 2 }, { "3", false }, }; await _authenticatedVaultClient.WriteSecretAsync(path, secretData); var secret = await _authenticatedVaultClient.ReadSecretAsync(path); Assert.True(secret.Data.Count == 3); await _authenticatedVaultClient.DeleteSecretAsync(path); await Assert.ThrowsAsync <Exception>(() => _authenticatedVaultClient.ReadSecretAsync(path)); }