Skip to content

Azure Storage Tables

Azure Storage Tables are a way to store structured data in a key-value like database. Complex joins, foreign keys or stored procedures are not supported in this datatables. For more information please read the official Microsoft documentation

Configuration

You can request for Azure Storage Tables during initial project configuration or everytime afterward.
You have to provide the names of the desired tables, which will be created automatically.

Access

Access is no more possible with SAS token.

Accessing the Azure Storage Table created with your configuration is only possible

  • from applications running in your Kubernetes namespace
  • or environments where you are logged in with az login as a project admin.

For example in Go applications you can use

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
panic(err)
}
client, err := aztables.NewClient(completeURL, cred, nil)
if err != nil {
panic(err)
}

which will use the information from your kubernetes namespaces or the information provided by your az login command for authentication.
For more information regarding using secure access within Go can be found here, or if you want to have information for other programming language integrations, you can find more information here.

The URL to be used is a combination of the table endpoint, which is the same for all tables in one storage account and the table name itself. The table endpoint can be found in the project Key Vault or in the Kubernetes secret and has the name storageaccount-table-endpoint

The complete URL for accessing the table will be [storageaccount-table-endpoint]\[tablename]