Skip to content

Azure Storage Blobs

Azure Storage Blobs are containers where (binary) data can be stored. For more information please read the official Microsoft documentation

Configuration

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

Access

Accessing the Azure Storage Blobs 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 := azblob.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 container endpoint, which is the same for all blobs in one storage account and the blob name itself. The blob endpoint can be found in the project Key Vault or in the Kubernetes secret and has the name storageaccount-container-endpoint

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