Cmdlets for Amazon Athena

Build 20.0.7654

EncryptionKey Parameter (Connect-AmazonAthena Cmdlet)

Specifies the encryption key when encrypting results stored in S3.

Syntax

Connect-AmazonAthena -EncryptionKey string

Remarks

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.

Set EncryptionType and EncryptionKey if you would like to encrypt the result set stored in S3 after query execution. Note that this does not encrypt the result set in S3StagingDirectory.

Enabling Encryption

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.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654