Getting Started
Getting ready to use the AWS Integration from Query.Farm is easy, just follow these steps.
Installation Steps
-
Install DuckDB version 1.1.1 or later.
-
Install the Airport extension from Query.Farm via DuckDB.
INSTALL 'airport' from community;LOAD 'airport'; -
Create an account at Query.Farm for AWS to create an access token and setup AWS credentials/roles.
Create Account
-
Store the access token using the DuckDB secrets manager.
CREATE PERSISTENT SECRET aws_secret (TYPE AIRPORT,auth_token '123456789abdef',scope 'grpc://aws.flights.query.farm:8080/'); -
Attach the connection.
ATTACH 'aws' (TYPE AIRPORT, location 'grpc://aws.flights.query.farm:8080/'); -
You’re ready to query!
SELECT * from aws.sts.get_caller_identity;