Reputation: 15
The problem is I want to set azure server side encryption to file which is present in azure blob container but i do not found any way to set server side encryption.
Upvotes: 0
Views: 356
Reputation: 72191
So there are 2 sides to this:
Notice that you would need to rewrite your existing data on the storage to the storage to encrypt it.
Upvotes: 1
Reputation: 58898
Quoting from documentation (emphasis mine):
Existing Data - SSE only encrypts newly created data after the encryption is enabled. If for example you create a new Resource Manager storage account but don't turn on encryption, and then you upload blobs or archived VHDs to that storage account and then turn on SSE, those blobs will not be encrypted unless they are rewritten or copied.
So only data written after you enable SSE gets encrypted. You will need to do as they say and rewrite/copy the files.
Upvotes: 2