After some investigation, it turns out that a Blob Storage service does not support COEP or CORP. And as of today there is not way you can configure Blob Storage to include Cross-Origin-Embedder-Policy and Cross-Origin-Resource-Policy header in the response.
Two things can be done here to workaround that:
- Use Azure CDN and it's rule engine to modify the origin response headers ( https://learn.microsoft.com/en-us/azure/cdn/cdn-standard-rules-engine-reference ) . This incurs additional charges for CDN usage.
- Introduce a reverse proxy in front of the blob storage to add\rewire custom response headers.