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.
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.
Delegate access by using a shared access signature - Azure Storage.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With