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

Does the example require public access? #25

Open
rickyzhang82 opened this issue Feb 18, 2022 · 2 comments
Open

Does the example require public access? #25

rickyzhang82 opened this issue Feb 18, 2022 · 2 comments

Comments

@rickyzhang82
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Do what the doc said.

Any log messages given by the failure

I wonder if the storage account require public access. Does public access means allow anonymous read access? I'm confused by the wording in access control.

Exception=Public access is not permitted on this storage account. ErrorCode: PublicAccessNotPermitted

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@rickyzhang82
Copy link
Author

The storage account created out-of-box disable public access. Once storage account is created. I can't enable public access from web portal. I think the doc needs to explain the prerequisite on this barrier.

@rickyzhang82
Copy link
Author

Or simply remove these lines:

# Set the permission so the blobs are public.
blob_service_client.set_container_acl(
container_name, public_access=PublicAccess.Container)

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

No branches or pull requests

1 participant