-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[FEATURE REQUEST] Equivalent to StorageCredentials.IsSAS in Storage v12 #12891
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. |
V12 doesn't have a Which scenario you are running into issues with? |
When using a connection string, I want to be able to identify a SAS based authentication. This was done OOTB by |
What do you mean by "identify a SAS based authentication"? |
A URI could be with or w/o a SAS token. What's the option to verify the query string of the URI is a valid SAS token with v12? |
@seanmcc-msft, some of this could be addressed by fixing #11590 which would provide an option to parse a connection string and get all the parts. I'm surprised to see connection string parsing to construct a domain object was removed in v12. All the properties/parts are still valid as the service side did not change. SAS tokens, endpoints, endpoint suffixes, etc are still the same concepts. |
Hi @SeanFeldman. 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 @SeanFeldman. There was a mistake and this issue was unintentionally flagged as a stale pull request. The label has been removed and the issue will remain active; no action is needed on your part. Apologies for the inconvenience. |
@seanmcc-msft when using Integrated Windows Authentication which of TokenCredential's descendants should I use? Cannot figure out...
If I got the token using Please suggest. |
Hi @SeanFeldman, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support. |
Query/Question
I'm looking for an equivalent to Storage v11 in v12.
With v12, when creating a
BlobContainerClient
, I can pass in either aStorageSharedKeyCredentials
, a connection/SAS string, or aTokenCredential
.In v11, when passing a connection/SAS and constructing a
StorageCredentials
object, there was anIsSAS
property that could differentiate between a connection string and a SAS string. With v12 it seems as this option was lost and the code has to explicitly distinguish between a connection string vs SAS Uri. Also, there's no way toEnvironment:
dotnet --info
output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]The text was updated successfully, but these errors were encountered: