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
Post a Comment