Azure Storage account contd
Activity 3: Accessing the private item
- Refer Here for SAS (Shared access signature)
- SAS is temporary access to an item for a limited time period
- Acess Keys in Storage Account: Refer Here
- Create a container with private access
- upload some item into private container and try accessing from url
- Every storage account will have two access keys key1 and key2. These keys can be used to access the storage account content programatically
- Now lets generate SAS for a blob item based on key1
- Now access the object using url with SAS token
- This stops working in two cases
- date is expired
- acess key is rotated
Activity 4: Rotate access keys
- Since access keys give programatic access to storage account. It is recommended to rotate access keys
- Refer Here for the section
Activity 5: exploring containers
- Create a resource group and a storage account (Standard)
- Upload two files (one.txt two.txt) in two private containers
- make a note of resource group, storage account, container name
- delete the resource group
- Can we recover yes
- We can recover
- blob
- container
- storage account.
- We can recover
- Lets understand soft delete. The delete object will not be actually delete but marked for delete for 7 days (configured days)
- Refer Here for recovering storage account
Terms
- Endpoint: Endpoint represents a url where you can access service.
