Azure: Using a sasToken to create a CloudTableClient -


i can't seem create cloudtableclient using shared-access-key doesn't result in 403: forbidden exceptions.

i've tried every possible configuration of consturctor/builder parameters can think of , none of them seem work:

tableclient = new cloudtableclient(new uri(saskey), new storagecredentials(saskey)); // 403

tableclient = new cloudstorageaccount( new storagecredentials(saskey), usehttps: true, accountname: "stackoverflow", endpointsuffix: "core.windows.net" ).createcloudtableclient(); // 403

etc...

what correct way use sas tokens cloud tables in azure?

i found answer: correct method me create cloudtable using token: unittable = new cloudtable(new uri(saskey));.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -