EncryptionKey Parameter (Connect-AmazonAthena Cmdlet)
Specifies the encryption key when encrypting results stored in S3.
Connect-AmazonAthena -EncryptionKey string
Specifies the encryption key when encrypting results stored in S3. This option is required if the EncryptionType is set to SSE_KMS or CSE_KMS.
To enable the encryption of results stored in S3, see Advanced Settings.
Obtaining an Encryption Key
You can create a key when you enable encryption. Or, create a key in the IAM console: Click Encryption Keys, select a region, and then click Create Key. To obtain the key, sign into the AWS Management console and click Services -> IAM -> Encryption Keys -> Create Key.