Azure / azure-storage-ruby

Microsoft Azure Storage Library for Ruby
http://azure.github.io/azure-storage-ruby/
84 stars 150 forks source link

Add encryption headers for customer-provided keys #221

Open arashnd opened 1 year ago

arashnd commented 1 year ago

https://learn.microsoft.com/en-us/azure/storage/blobs/encryption-customer-provided-keys https://learn.microsoft.com/en-us/rest/api/storageservices/put-blob

gledis69 commented 1 year ago

Can you also add encryption scope headers for containers, namely: x-ms-default-encryption-scope, x-ms-deny-encryption-scope-override. You can see this in: https://learn.microsoft.com/en-us/rest/api/storageservices/create-container?tabs=azure-ad

Also, note that the encryption scope headers have been introduced in API verion 2019-02-02, while the default api version in the repo right now is 2018-11-09 so maybe consider updating that.