Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Give read only access to an azure table

I need to give read-only access to a third party to one of our Azure tables. Is there a clean, simple way of doing that or should I clone the table? If so, how do I clone the table?

Edit:

Here's the documentation on how to do it in Java.

like image 784
Malt Avatar asked Feb 03 '15 16:02

Malt


People also ask

How do I grant access to Azure container?

Find your container, select Access Policy under the settings blade, and click Add Policy. Select the permissions which you want to give this specific container. Also, public access level is container level. In addition, there is a preview version of managing access rights to Azure storage account with RBAC roles.

What option do you have to grant someone access to a single container in your Azure storage account without having to give them your storage account keys?

Delegate access by using a shared access signature - Azure Storage.

How do I restrict access to storage on Azure?

From the Azure portal, browse to storage account->Settings->Firewalls and virtual networks. By default, access will be set to “All networks.” Change this setting to “Selected networks” and click on “Add existing virtual network” to restrict access to Azure endpoints.

How do I give public access to my Azure storage account?

To allow or disallow public access for a storage account in the Azure portal, follow these steps: Navigate to your storage account in the Azure portal. Locate the Configuration setting under Settings. Set Blob public access to Enabled or Disabled.


1 Answers

There's no built-in mechanism for cloning a table; you'd need to do the copy yourself.

However: Your assertion about Azure Tables not supporting read-only credentials is incorrect. If all you want to do is grant read-only access, you can just create a Shared Access Signature (SAS) for the table in question, granting just query permissions, on the specific table. You can even limit it to a particular range, as defined by partition key + row key.

More info about that is here.

like image 182
David Makogon Avatar answered Sep 20 '22 21:09

David Makogon