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

Adding in feature to generate SAS from Storage Clients #15972

Merged
merged 9 commits into from
Nov 3, 2020

Conversation

amnguye
Copy link
Member

@amnguye amnguye commented Oct 14, 2020

For each client in the Azure.Storage.* libraries, this PR adds a the following new APIs

public Uri GenerateSasUri(<service>SasBuilder builder)

and for each <service>ServiceClient there is the also APIs for
public Uri GenerateAccountSasUri(AccountSasBuilder builder)

I also resolved #15403 in this PR as it was breaking some of my tests.

I also removed the ability/deprecated to set the sas version in blobs, as we moved to a new StringToSign.

@amnguye amnguye added Storage Storage Service (Queues, Blobs, Files) APIChange labels Oct 14, 2020
Copy link
Member

@tg-msft tg-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks awesome! Can you do me a favor and run \eng\scripts\Export-API.ps1 to make reviewing the API surface changes easier?

sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs Outdated Show resolved Hide resolved
@amnguye
Copy link
Member Author

amnguye commented Oct 26, 2020

@gapra-msft @tg-msft @kasobol-msft @seanmcc-msft could you all take another look? thanks!

@PureKrome
Copy link

@amnguye Hi! Just a quick question - when is this PR scheduled to be released? Is it for v 12.5.0 ? Also, which month is this approx scheduled for?

(I didn't see if this was tagged to a specific issue or milestone, for reference).

cheers!

@amnguye
Copy link
Member Author

amnguye commented Nov 5, 2020

Hi @PureKrome! We are planning to release this next week for v12.5.0 (Azure.Storage.Queues)

@PureKrome
Copy link

@amnguye That's great news! thanks so much and keep up the great work 👍🏻 🍰

@PureKrome
Copy link

image

annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
- All Storage Clients (except Service Clients) now have the property CanGenerateSas and the method GenerateSas
- Storage Service Clients have the property CanGenerateAccountSas and the method GenerateAccountSas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Azure.Storage.Queues SDK fails with custom hostname in the connection string
6 participants