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

How do I use the storage connection string to create a ServiceURL object? #2766

Closed
shudv opened this issue May 8, 2019 · 8 comments
Closed
Assignees
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. Storage Storage Service (Queues, Blobs, Files)

Comments

@shudv
Copy link

shudv commented May 8, 2019

The new SDK provides various credential creation methods but its not obvious to me how to create a credential object from a full storage connection string (DefaultEndpointProtocol****EndpointSuffix). Do I need to parse the string and extract account name and account key or is there a built in mechanism in the library?

@shudv shudv changed the title How do I use the stoage connection string to create a ServiceURL object? How do I use the storage connection string to create a ServiceURL object? May 8, 2019
@shudv
Copy link
Author

shudv commented May 8, 2019

More specifically, is there support for the UseDevelopmentStorage=true shorthand for connecting to the local emulator?

@kurtzeborn kurtzeborn added 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. Storage Storage Service (Queues, Blobs, Files) Service Attention Workflow: This issue is responsible by Azure service team. and removed Service Attention Workflow: This issue is responsible by Azure service team. labels May 8, 2019
@kurtzeborn
Copy link
Member

Thank you for opening this issue! We are routing it to the appropriate team for follow up.

CC: @jeremymeng, @XiaoningLiu, @vinjiang

@XiaoningLiu
Copy link
Member

Connection string support is SDK's next todo list @jeremymeng has proposed that with a solution

@jeremymeng
Copy link
Member

Thanks for the feedback @shudv. The work is tracked by #2752.

@jeremymeng
Copy link
Member

Dev connection string shortcut work is splitted into #3289

@HarshaNalluru
Copy link
Member

@shudv,

@azure/storage-blob-12.0.0-preview.3 now supoports various types of connection strings.

Links - Changelog | NPM link. Please give it a try.

Dev connection string work is ongoing(#5004) and we are hoping to add the support in the next release.

@kurtzeborn
Copy link
Member

@shudv, we've merged the PR for this (#5004) already. You should expect to see this fix in our next preview release coming in a few weeks. Thank you for reporting the issue! Please re-open if you have concerns or further questions.

@ghost
Copy link

ghost commented Sep 27, 2019

Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

5 participants