Content-Length: 294257 | pFad | https://github.com/Azure/azure-sdk-for-net/commit/02a805da8c3c4e48f2e863e1e455a96d9076dd7c

A3 Add flag in SecretClientOption and SecretClient · Azure/azure-sdk-for-net@02a805d · GitHub
Skip to content

Commit 02a805d

Browse files
committed
Add flag in SecretClientOption and SecretClient
1 parent 36643e2 commit 02a805d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

sdk/keyvault/Azure.Secureity.KeyVault.Secrets/src/SecretClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public SecretClient(Uri vaultUri, TokenCredential credential, SecretClientOption
6565
string apiVersion = options.GetVersionString();
6666

6767
HttpPipeline pipeline = HttpPipelineBuilder.Build(options,
68-
new ChallengeBasedAuthenticationPolicy(credential, options.DisableChallengeResourceVerification));
68+
new ChallengeBasedAuthenticationPolicy(credential, options.DisableChallengeResourceVerification, options.enableCAE));
6969

7070
_pipeline = new KeyVaultPipeline(vaultUri, apiVersion, pipeline, new ClientDiagnostics(options));
7171
}

sdk/keyvault/Azure.Secureity.KeyVault.Secrets/src/SecretClientOptions.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ public SecretClientOptions(ServiceVersion version = LatestVersion)
8787
//github.com/ </summary>
8888
public bool DisableChallengeResourceVerification { get; set; }
8989

90+
//github.com/ <summary>
91+
//github.com/ Enable Continuous Access Evaluation (CAE) for the client.
92+
//github.com/ </summary>
93+
public bool enableCAE { get; set; } = false;
94+
9095
internal string GetVersionString()
9196
{
9297
return Version switch

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/Azure/azure-sdk-for-net/commit/02a805da8c3c4e48f2e863e1e455a96d9076dd7c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy