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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -