How to download encrypted Athena query results in readable format

0

I want to download query results in Athena to csv in a readable format. The problem is that results are encrypted. What is the best practice to do? Or is it a wrong approach? I just need to share a few tables with colleagues who don't use Athena.

MikeW
질문됨 일 년 전502회 조회
2개 답변
1

You can download results files from the console from the Results pane when using the console or from the query History. For more information, see Downloading query results files using the Athena console..

If you dont need your query results to be encrypted in the S3 bucket, you can turn off encrytion too and provide the user access to the S3 bucket they files will be named named as QueryID.csv NOTE: AWS customers rarely choose this option, when they are sure about their end users with access to the bucket.

profile pictureAWS
답변함 일 년 전
  • Thanks. I need encryption. I don't want to turn it off completely.

0

As my goal is to keep query results encryption but at the same time to be able to download results, I do not want to disable encryption. I found that to download query output my user/role needs to be granted access to the KMS key that is used for query results encryption. This should allow downloading files and they will no longer be encrypted on the local disk.

MikeW
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠