Enable the use of custom domain on the BlobServiceClient
See original GitHub issueIs your feature request related to a problem? Please describe. I’m unable to both use a custom domain for my storage account AND use the BlobServiceClient.fromConnectionString
Describe the solution you’d like The following line: here
let accountName = getAccountNameFromUrl(blobEndpoint);
should be changed, instead of “detecting” the account name derived from the BlobEnpoint=
(which is described as:) it should instead search independently for a part in the connection string AccountName=
Describe alternatives you’ve considered
Either not being able to use custom domains (e.g. https://storage.mydomain.com) when uploading a file from an SPA, staying just with a url https://<account>.blob.core.windows.net
Additional context Uploading a blob file works just fine with the connecting string pointing to https://<account>.blob.core.windows.net but I don’t want to ask my clients to allow access to an azure endpoint, instead i prefer they give access to my application’s endpointin the network rules.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
@alvaradojl, Thanks for the update. We’ll try to involve this enhancement in August milestone.
Close as fix released.