> ## 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.

# S3OutputEncKMSKey

<a id="s3outputenckmskey" />

<Note>
  **Note:** As an alternative, you can configure this property using the alias `query_results_aws_kms_key`. If you specify both the property name and the alias for the same connection, the setting associated with the property name (`S3OutputEncKMSKey`) takes precedence.
</Note>

The KMS key ARN or ID to use when encrypting query results using SSE\_KMS or CSE\_KMS encryption.

For detailed information about the supported 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).

<table><colgroup><col /><col /><col /></colgroup><thead><tr><th scope="col">Default Value</th><th scope="col">Data Type</th><th scope="col">Required</th></tr></thead><tbody><tr><td><p>None</p></td><td><p>String</p></td><td><p>Yes, if using SSE\_KMS or CSE\_KMS encryption.</p></td></tr></tbody></table>
