Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify KeyClientBuilderExtension methods params #14737

Merged
merged 2 commits into from
Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sdk/keyvault/Azure.Security.KeyVault.Keys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
- Added `KeyVaultKeyIdentifier` to parse key URIs.
- Added `LocalCryptographyClient` to do cryptography operations locally using a `JsonWebKey`.

### Changed

- Clarified documentation for `KeyClientBuilderExtensions` methods.

## 4.1.0 (2020-08-11)

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ public static IAzureClientBuilder<KeyClient, KeyClientOptions> AddKeyClient<TBui
/// <summary>
/// Registers a <see cref="KeyClient"/> instance with the provided <paramref name="vaultUri"/>
/// </summary>
/// <typeparam name="TBuilder">Type of builder to extend.</typeparam>
/// <param name="builder">The builder to extend.</param>
/// <param name="vaultUri">The URI to a specific key in an Azure Key Vault.</param>
heaths marked this conversation as resolved.
Show resolved Hide resolved
/// <returns>An Azure client builder.</returns>
public static IAzureClientBuilder<CryptographyClient, CryptographyClientOptions> AddCryptographyClient<TBuilder>(this TBuilder builder, Uri vaultUri)
where TBuilder : IAzureClientFactoryBuilderWithCredential
{
Expand All @@ -43,6 +47,11 @@ public static IAzureClientBuilder<CryptographyClient, CryptographyClientOptions>
/// <summary>
/// Registers a <see cref="KeyClient"/> instance with connection options loaded from the provided <paramref name="configuration"/> instance.
/// </summary>
/// <typeparam name="TBuilder">Type of builder to extend.</typeparam>
/// <typeparam name="TConfiguration">The type of configuration to use for the client builder.</typeparam>
/// <param name="builder">The builder to extend.</param>
/// <param name="configuration">The configuration to use for the client builder.</param>
/// <returns>An Azure client builder.</returns>
public static IAzureClientBuilder<CryptographyClient, CryptographyClientOptions> AddCryptographyClient<TBuilder, TConfiguration>(this TBuilder builder, TConfiguration configuration)
where TBuilder : IAzureClientFactoryBuilderWithConfiguration<TConfiguration>
{
Expand Down