create asymmetric key AsymKey1 with algorithm = RSA_2048 encryption by password = 'MyPassword$'
The above command creates asymmetric key pair - a public key and a private key. So the private key is protected by the supplied password. My question is - how is the public key protected ? No passowrd ?
Further, I create a symmetric key SymKey1 and protect it with above created asymmetric key AsymKey1 and use SymKey1 to encrypt a table column (update existing varbinary(max) column). Now how do a user , LoginA use the public key of AsymKey1 to open the SymKey1 so that data can be inserted into the clumn and encrypted ?
what permissions are required for LoginA to insert encrypted data ?
If LoginB needs permissions to read the encrypted data, I know it will need view definition permissions on SymKey1 and control permissions on AsymKey1.