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

Question: how to format a connection string with anonymous user and account key? #287

Open
yxiang92128 opened this issue Sep 10, 2019 · 1 comment
Labels

Comments

@yxiang92128
Copy link

If I set a blob to be read anonymously, how do I specify a connection string in a format that the SDK would work with empty user and account key please?

Thanks,

Yang

@EmmaZhu
Copy link
Member

EmmaZhu commented Sep 12, 2019

Hi Yang,

You may not need a connection string for anonymous access.

For example, a cloud_block_blob initialized with construct cloud_block_blob(storage_uri uri) can be used to read from the target blob anonymously. The storage uri should look like: "https://accountname.blob.core.windows.net/containername/blobname".

Thanks
Emma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants