Set Azure protocol to https
- Default allows https/http
This commit is contained in:
parent
68a1004bf1
commit
b18e291511
@ -53,7 +53,7 @@ class AzureUploader(Uploader):
|
|||||||
sas_token = bbs.generate_container_shared_access_signature(
|
sas_token = bbs.generate_container_shared_access_signature(
|
||||||
self.config["AZURE_TO_BUCKET_NAME"],
|
self.config["AZURE_TO_BUCKET_NAME"],
|
||||||
ContainerPermissions.WRITE,
|
ContainerPermissions.WRITE,
|
||||||
datetime.utcnow() + timedelta(minutes=15),
|
protocol="https"
|
||||||
)
|
)
|
||||||
return ({"token": sas_token}, object_name)
|
return ({"token": sas_token}, object_name)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user