I have symmetric KMS keys which I'm using to encrypt a string:
client = session.client('kms') ciphertext = client.encrypt( KeyId=abcde-sdfjfsdfsdf-sdfsdf, Plaintext=bytes('Once upon a time. I want to encrypt this), )
I have this encrypted string hanging out in github. However, I noticed that technically, anyone can get the encrypted string and decrypt it because the metadata is inside that string. I know this because I can do an aws configure and point to a totally different aws account and I can run the decrypt just fine. If this can happen, why even use asymmetric. Is it only meant for encrypted strings that stay in the aws account? In my scenario, would it be better to use asymmetric?