0
0
Azurecloud~20 mins

Blob containers and access levels in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Blob containers and access levels
📖 Scenario: You are working with Azure Blob Storage to organize and control access to your files. You need to create a container, set its access level, and verify the configuration.
🎯 Goal: Create an Azure Blob Storage container named projectfiles, set its access level to blob so that blobs are publicly accessible but the container is not, and confirm the access level setting.
📋 What You'll Learn
Create a blob container named projectfiles
Set the container's public access level to blob
Retrieve and confirm the container's access level
💡 Why This Matters
🌍 Real World
Managing blob containers and their access levels is essential for securely sharing files and controlling public access in cloud storage.
💼 Career
Cloud administrators and developers often configure blob storage containers to meet security and accessibility requirements for applications.
Progress0 / 4 steps
1
Create the blob container
Write the Azure CLI command to create a blob container named projectfiles in the storage account mystorageaccount.
Azure
Need a hint?

Use az storage container create with --name and --account-name options.

2
Set the container access level
Write the Azure CLI command to set the public access level of the container projectfiles to blob in the storage account mystorageaccount.
Azure
Need a hint?

Use az storage container set-permission with --public-access blob.

3
Check the container access level
Write the Azure CLI command to get the properties of the container projectfiles in the storage account mystorageaccount to confirm its access level.
Azure
Need a hint?

Use az storage container show to view container details.

4
Confirm the access level in output
Add the Azure CLI option to output the container properties in JSON format for easy reading.
Azure
Need a hint?

Add --output json to the show command.