-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add SecretClient.GetSecret with RequestContext #33767
Conversation
@KrzysztofCwalina @tg-msft @pallavit I'm reluctant to smash this one into our upcoming release in a couple weeks. Initially when I spoke with @annelo-msft it seemed pretty straightforward. It was, actually, but as you can see required a lot of small changes. I tried to minimize the impact to code, but honestly a good refactoring of the I'm open to pushing this into our upcoming GA, but leaning toward punting it till after to get more usage on a beta release. The issue has been open for 3 years, so another few months (or so) probably won't hurt. /cc @vcolin7 |
API change check APIView has identified API level changes in this PR and created following API reviews. |
sdk/keyvault/Azure.Security.KeyVault.Secrets/src/SecretClient.cs
Outdated
Show resolved
Hide resolved
sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientLiveTests.cs
Show resolved
Hide resolved
sdk/keyvault/Azure.Security.KeyVault.Shared/src/KeyVaultPipeline.cs
Outdated
Show resolved
Hide resolved
Agree with the approach. |
@pallavit could you clarify: you agree with the idea to punt this till after the 7.4-related GA, or you agree with the concept in this PR (as @annelo-msft said in her PR review)? |
I agree with moving this out of the GA scope :) |
I'll leave it as a draft for now then and can rebase after we GA. |
sdk/keyvault/Azure.Security.KeyVault.Secrets/src/SecretClient.cs
Outdated
Show resolved
Hide resolved
@KrzysztofCwalina @tg-msft now that Storage has shipped with a |
sdk/keyvault/Azure.Security.KeyVault.Shared/src/KeyVaultPipeline.cs
Outdated
Show resolved
Hide resolved
Per offline discussion with @KrzysztofCwalina, @tg-msft, and @m-nash I am working on changing this to an overload of I see three possible outcomes and am torn on the first two:
|
sdk/keyvault/Azure.Security.KeyVault.Secrets/samples/Sample4_GetSecretIfExists.md
Show resolved
Hide resolved
sdk/keyvault/Azure.Security.KeyVault.Secrets/samples/Sample4_GetSecretIfExists.md
Outdated
Show resolved
Hide resolved
sdk/keyvault/Azure.Security.KeyVault.Secrets/samples/Sample4_GetSecretIfExists.md
Outdated
Show resolved
Hide resolved
Hi @heaths. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days. |
@KrzysztofCwalina @tg-msft @m-nash where do we stand on this? I still feel like making customers use System.Text.Json or DynamicData just to use the power of a EDIT: We got another request today: #36942 |
I believe the explicit casts will be the answer here, but the exact public api for those isn't fully decided but hopefully by Azure.Core 34 we will be ready at which point we can follow that pattern here. |
Hi @heaths. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days. |
In progress. |
@heaths Has the story streamlined here? Can we tackle this as part of this or upcoming milestone? |
Asked our architects and DPG driver for clarification. It seemed they were open to some variation of what I have here currently. |
Hi @heaths. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days. |
Hi @heaths. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing |
Fixes #25125