Connections > Amazon Athena connection properties > Connect to Amazon Athena
  

Connect to Amazon Athena

Let's configure the Amazon Athena connection properties to connect to Amazon Athena.

Before you begin

Before you get started, you'll need to get information from your Amazon Athena account based on the authentication type that you want to configure.
To configure permanent IAM credentials authentication, get the access key and secret key.
To use EC2 instance profile authentication, set up an EC2 instance and attach the EC2 role to the EC2 instance.
Attach the required policies to the IAM user or EC2 role based on the authentication type you want to configure.
Check out Prepare for authentication to learn more about the authentication prerequisites.

Connection details

The following table describes the basic connection properties:
Property
Description
Connection Name
Name of the connection.
Each connection name must be unique within the organization. Connection names can contain alphanumeric characters, spaces, and the following special characters: _ . + -,
Maximum length is 255 characters.
Description
Description of the connection. Maximum length is 4000 characters.
Type
Amazon Athena
Use Secret Vault
Stores sensitive credentials for this connection in the secrets manager that is configured for your organization.
This property appears only if secrets manager is set up for your organization.
This property is not supported by Mass Ingestion.
When you enable the secret vault in the connection, you can select which credentials that the Secure Agent retrieves from the secrets manager. If you don't enable this option, the credentials are stored in the repository or on a local Secure Agent, depending on how your organization is configured.
For information about how to configure and use a secrets manager, see Secrets manager configuration.
Runtime Environment
The name of the runtime environment where you want to run tasks.
Select a Secure Agent, Hosted Agent, or serverless runtime environment.

Authentication types

You can configure permanent IAM credentials and EC2 instance profile authentication types to access Amazon Athena.

Related links