QuestionQ242

VerifiedImplement and manage storage

You have an Azure subscription that includes a storage account named storage1. The storage account contains a blob container that stores images.

Client access to storage1 is granted by using a shared access signature (SAS).

You need to make sure users receive a warning when they generate a SAS with a duration greater than seven days.

What should you do for storage1?

Explanation

A SAS expiration policy on the storage account sets a recommended upper limit for the validity interval of a SAS. After you configure it, any user who creates a SAS with an interval that exceeds the upper limit sees a warning, along with the recommended maximum interval. In the Azure portal, open the storage account's Configuration settings, set Shared access signature (SAS) expiration policy to Enabled, and specify seven days under Upper limit for SAS expiry interval.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!