cityofaustin / grackl

A bird's eye view of Digital Projects at the City of Austin
https://grackle.austintexas.io/
MIT License
11 stars 3 forks source link

Regenerate API key for Airtable #131

Open mateoclarke opened 6 years ago

mateoclarke commented 6 years ago

Since this was a quick and dirty prototype, we created a throw-away Airtable account with read-only access to the Airtable spreadsheet. Gatsby uses this API key to pull data out of Airtable and inserts it into its GraphQL data layer.

We aren't really worried about this API getting misused since it is disposable, not connected to any other data, and read-only. But it is a bad practice. We should store secrets a file that is gitignored.

Here are docs about how to do this within Gatsby/React https://github.com/gatsbyjs/gatsby/issues/660