An internal audit team requires temporary, read-only access to log files stored in a private blob container named `applogs`. You are writing the C# backend code to generate a Shared Access Signature (SAS) token for their client software.
The security policy dictates the following constraints:
- The token must be signed using Microsoft Entra ID credentials, avoiding the use of storage account keys.
- Connections must be restricted to HTTPS.
- Access must be limited specifically to the client software's outbound IP address of `203.0.113.88`.
Which of the following configurations or code steps are required to generate this SAS token? (Select TWO).
- Generate a User Delegation SAS by retrieving a User Delegation Key using a BlobServiceClient authenticated with Microsoft Entra ID credentials.Cevap
- Set the Protocols property of the BlobSasBuilder instance to SasProtocol.HttpsOnly.Cevap
- CGenerate a Service SAS signed with the Storage Account access key and configure a Stored Access Policy on the container.
- DSet the IPRange property of the BlobSasBuilder instance to a SasIPRange that includes the range 203.0.113.0/24 with both HTTP and HTTPS allowed.
Cevap
Generating a User Delegation SAS using a User Delegation Key and configuring the BlobSasBuilder's Protocols property to HttpsOnly are both required.
Generating a User Delegation SAS signed with Microsoft Entra ID credentials meets the requirement to avoid storage account keys, and setting the Protocols property to HttpsOnly enforces secure connections.
Adım Adım Çözüm
Anahtar Kavram
Shared Access Signatures (SAS) security configurations including User Delegation SAS, HTTPS protocol enforcement, and client IP constraints.