Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 794 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 794 Bytes

Examples for the headless BI blog post

These files are used in this blog post.

Functions

functions/database.py is an example function to create SQLAlchemy URI for a AWS Athena Database connection using secrets fetched from the AWS Secrets Manager store. To test it out, follow the below steps.

  1. Create an IAM user with permissions to perform queries on Athena and create access keys for it.
  2. Create an AWS Secrets Manager store.
  3. Store the credentials for the IAM user created in step 1. in the secrets store under the keys athena-iam-user-access-key-id and athena-iam-user-secret-key.
  4. Run preset-cli --workspaces=<PRESET_WORKSPACE_URL> superset sync native . to test.