corvus-dotnet / corvus-dotnet/Corvus.Extensions.CosmosDb

Dispose KeyVaultClient after use

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We create a `KeyVaultClient` here:

https://github.com/corvus-dotnet/Corvus.Extensions.CosmosDb/blob/04b750837fd6550068315da6f21f2c798bf03948/Solutions/Corvus.SpecFlow.Extensions.CosmosClient/Corvus/SpecFlow/Extensions/SecretHelper.cs#L103

But we do not dispose it. We should work out whether disposing in situ is fine, or whether this is one of those more problematic scenarios where this is essentially an `HttpClient` in disguise that we need to hang onto and reuse.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.