I'm running the following code through AWS wrangler
import awswrangler as wr
my_query = wr.athena.read_sql_query(
sql="""select "$path" as path from table""",
database='db', workgroup='workgroup'
)
But I don't wish to use static methods such as Aws Cli
or configurations
file to store my creds.
How do I add the creds directly in the above code?