Authentication

To authenticate requests sent by Hasura Event Triggers, an API key is used that we generate. This key is available to the Moped API (Flask app) and the Hasura GraphQL Engine ECS Task Definition.

How the Moped API gets the API key

How the Moped Hasura GraphQL Engine gets the API key

  • The API key is set in the ECS Task Definition of the Moped Hasura GraphQL Engine

  • If you look at the ECS Task Definition JSON tab, you will find a secrets key with values that are injected as environment variables arrow-up-right

  • These secrets are injected from entries in AWS Systems Manager Parameter Store

  • Hasura sends the API key in Event Trigger request headers

Last updated

Was this helpful?