Support UserDelegationCredential
in BlobSASSignatureValues.NewSASQueryParameters and on ServiceClient
#18976
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
feature-request
This issue requires a new behavior in the product in order be resolved.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Storage
Storage Service (Queues, Blobs, Files)
Milestone
Feature Request
Within the previous azblob SDK, there was support for a UserDelegationCredential. This credential could be supplied to BlobSASSignatureValues.NewSASQueryParameters and is returned from ServiceURL.GetUserDelegationCredential or created using NewUserDelegationCredential by supplying a UserDelegationKey.
Currently, within the new azblob SDK the UserDelegationKey is supported but is not used in any methods. Additionally there is a comment on BlobSASSignatureValues.NewSASQueryParameters that indicated that
UserDelegationCredential
can be used, but it only accepts aSharedKeyCredential
Due to this, we would like the
UserDelegationCredential
to be supported on the ServiceClient (as it was supported on the ServiceURL in the previous azblob SDK, and inBlobSASSignatureValues.NewSASQueryParameters
.Currently we are generating User Delegation Key using the REST API and manually generating the User Delegation SAS using the User Delegation Key returned from the API call. This is a verbose method of constructing the SAS and using the SDK would allow for a simpler and more readable method of working with User Delegation SAS.
The text was updated successfully, but these errors were encountered: