I have a situation where I need to create a SAS token based on a range of PartitionKeys and RowKeys both.
To be more precise, my PK is based on Ticks of timestamp (there is a partion for every 10-minute range). My RK is based on some string.
I'm trying to call storage from a browser and get data for a range of PKs (based on some time range) and within those PK's, based for a range of some RKs. IE:
PK > 100000000 && PK < 200000000 && RK > "aaa" && RK <"mmm"
When I create the token, response from storage returns correct partitions, but entities for all RK's.
var sas = table.GetSharedAccessSignature(new SharedAccessTablePolicy
{
Permissions = SharedAccessTablePermissions.Query,
SharedAccessExpiryTime = DateTime.UtcNow.Add(period)
}, null, startPk, startRk, endPk, endRk);
Any ideas how to make the call only follow provided RK range without me having to filter out on the client unnecessary entities?