> ## Documentation Index
> Fetch the complete documentation index at: https://insightsoftware-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring Query Result Encryption

<a id="configuring-query-result-encryption" />

You can configure the Simba Amazon Athena JDBC Connector to encrypt your query results using any of the encryption protocols that Athena supports.

To configure query result encryption:

1. Set the `S3OutputEncOption` property to one of the following values. <table><colgroup><col /><col /></colgroup><thead><tr><th scope="col">Option Name</th><th scope="col">Description</th></tr></thead><tbody><tr><td><p>SSE\_S3</p></td><td><p>The connector uses server-side encryption with an Amazon S3-managed key.</p></td></tr><tr><td><p>SSE\_KMS</p></td><td><p>The connector uses server-side encryption with an AWS KMS-managed key.</p></td></tr><tr><td><p>CSE\_KMS</p></td><td><p>The connector uses client-side encryption with an AWS KMS-managed key.</p></td></tr></tbody></table>

For detailed information about these encryption options, see "Configuring Encryption Options" in the *Amazon Athena User Guide* : [http://docs.aws.amazon.com/athena/latest/ug/encryption.html](http://docs.aws.amazon.com/athena/latest/ug/encryption.html).

2. If you specified `SSE_KMS` or `CSE_KMS` in the previous step, then set the `S3OutputEncKMSKey` property to the KMS key ARN or ID to use for encrypting data.
