Question: I am trying to connect to AWS Athena from the dbeaver. Documentation is saying that I can do that using the AWS SSO <https://dbeaver.com/docs/wiki/AWS-SSO>.

I went through all options and was not able to find such a configuration. I am using version 21.3.5.

Can anyone help me where do I find such a configuration?[![enter image description here](https://i.stack.imgur.com/tgdDF.png)](https://i.stack.imgur.com/tgdDF.png)

Answer: 
From the first screen shot, it appears you are using the Community Edition. True SSO is not supported for CE, but you can make it work. Use AWS's SSO awsapps start page and select the account / role you wish to use. Select 'Command line or programmatic access'. Choose option 2) 'Add a profile to your AWS Credentials file' and click to copy the text. Paste this text into your ~/.aws/credentials file. Now copy the first line of the credentials file but leave out the brackets '[]'. Edit the connection in DBeaver. Under driver properties paste the value for 'AwsCredentialsProviderArguments'. Then for 'AwsCredentialsProviderClass' set the value to 'com.simba.athena.amazonaws.auth.profile.ProfileCredentialsProvider'. The output S3 bucket and region should be set to what you need. Leave user and password blank and check 'save password locally'. The connection should work now. Note: this is only a session token and will time out after several hours. Just repeat and update the contents in the credentials file to update the session token. Hope this helps.
**EDIT**

Please ignore this answer if you are interested on the AWS SSO authentication using Athena with DBeaver. Thanks to @rholdberh I just noticed it.

This answer assumes you have an AWS key/secret pair, not SSO credentials.

---

Perhaps is that now supported?

I am successfully using the Community version:

[![enter image description here](https://i.stack.imgur.com/EuYWB.jpg)](https://i.stack.imgur.com/EuYWB.jpg)

---

**EDIT**

As requested by @rholdberh in the comments, the Driver properties, where I **only added the Workgroup**. Nothing else:

[![enter image description here](https://i.stack.imgur.com/d0ioQ.jpg)](https://i.stack.imgur.com/d0ioQ.jpg)

[![enter image description here](https://i.stack.imgur.com/BSmXV.jpg)](https://i.stack.imgur.com/BSmXV.jpg)