@PR Thanks for reaching out to Microsoft Q&A. I understand that you are looking for assistance in regard to creating encryption scope for an existing storage account.
You should be able to do that using the following method- https://learn.microsoft.com/en-us/java/api/com.azure.storage.blob.specialized.cryptography.encryptedblobclientbuilder?view=azure-java-stable#com-azure-storage-blob-specialized-cryptography-encryptedblobclientbuilder-encryptionscope(java-lang-string)
public EncryptedBlobClientBuilder encryptionScope(String encryptionScope)
Sets the encryption scope that is used to encrypt blob contents on the server.
Parameters:
encryptionScope - Encryption scope containing the encryption key information.
Returns:
the updated EncryptedBlobClientBuilder object
Is this what you are looking for? Please let us know if you have any more questions and we will be glad to assist you further. Thank you!
Remember:
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
Want a reminder to come back and check responses? Here is how to subscribe to a notification.