View a markdown version of this page

Configuring Pinecone connections - AWS Glue

Configuring Pinecone connections

Pinecone connections authenticate with an API key (or token). You store the key in Secrets Manager and reference that secret when you create the connection in AWS Glue Studio.

To configure a Pinecone connection:

  1. In the Pinecone console, select the project that you want to read, choose API keys, and then choose + API key. Copy the generated key. For more information, see Manage API keys on the Pinecone website.

  2. In Secrets Manager, create a secret with the key api_key. Set the value to the raw API key. The connector sends it in the Api-Key header.

  3. In the AWS Glue Studio console, choose Connections under Data Catalog, then choose Create connection.

  4. Search for and choose Pinecone as the data source.

  5. For credentials, choose the Secrets Manager secret you created, select the IAM role that AWS Glue can assume to read the secret, optionally set network options, and complete the connection creation.

  6. Grant the IAM role associated with your AWS Glue job permission to read the secret.