Commit 5d441f0d authored by Yannick's avatar Yannick
Browse files

add resource type

parent 2c0d384b
Pipeline #50621 passed with stage
in 36 seconds
......@@ -42,11 +42,11 @@ async def get_dask_storage_parameters(tenant: Tenant, directory: Optional[str] =
sas_token = generate_account_sas(
resource_types=ResourceTypes(object=True), # only request access to blob, not container nor service
resource_types=ResourceTypes(object=True, service=True, container=True),
permission=AccountSasPermissions(read=True, write=True, delete=True,
list=True, add=True, create=True, update=True,
process=True, delete_previous_version=True),
expiry=datetime.utcnow() + timedelta(minutes=10)
expiry=datetime.utcnow() + timedelta(minutes=20)
storage_options = {'account_name': storage_account_name, 'sas_token': sas_token}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment