public async Task GetContainerSas() { string fileName = Guid.NewGuid().ToString() + ".containersas.txt"; string filePath = StoragePath.Combine("test", fileName); await _native.WriteTextAsync(filePath, "whack!"); var policy = new ContainerSasPolicy(DateTime.UtcNow, TimeSpan.FromHours(1)); string sas = await _native.GetContainerSasAsync("test", policy, true); //check we can connect and list test file in the root IBlobStorage sasInstance = StorageFactory.Blobs.AzureBlobStorageFromSas(sas); IReadOnlyCollection <Blob> blobs = await sasInstance.ListAsync(StoragePath.RootFolderPath); Blob testBlob = blobs.FirstOrDefault(b => b.FullPath == fileName); Assert.NotNull(testBlob); }