-
-
Notifications
You must be signed in to change notification settings - Fork 869
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
Can't get private azure blob #948
Comments
@sdhunna21 Thank you. |
Having the same issue as well. Only works with blob access anonymous. |
I suspect this is because you are using a string for the expiration instead of a int.
by
If you don't want to use the account key, you need to set the |
This saved me!! @nitely Huge thanks!! |
I have django-storages working fine with azure blob storage if I set the container access level to blob anonymous. If I change the container access level to private, I can still upload files, however when I attempt to get them, I get an XML message that says ResourceNotFound.
In the documentation the only change I think I need to make in the settings is to have a value for AZURE_URL_EXPIRATION_SECS. I've set it to 600. The URL I see in the address bar is the same as it was for public blob. I thought it would be a temporary looking url.
Here's the full error:
Here are my settings (with my data removed):
Here are the versions I'm using:
The text was updated successfully, but these errors were encountered: