Configuring Todoist connections
Todoist connections authenticate with a Todoist personal API token or an OAuth 2.0 access token supplied as a static secret. The connector sends the token as a bearer token in the Authorization header and doesn't perform OAuth authorization or token refresh. You store the token in Secrets Manager and reference that secret when you create the connection in AWS Glue Studio.
To configure a Todoist connection:
Obtain a Todoist personal API token or OAuth 2.0 access token. For a personal API token, copy it from the Integrations settings of your Todoist account. For more information, see Todoist API v1
on the Todoist website. In Secrets Manager, create a secret with the key
tokenset to the raw token. Don't include theBearerprefix; the connector adds it.In the AWS Glue Studio console, choose Connections under Data Catalog, then choose Create connection.
Search for and choose Todoist as the data source.
For credentials, choose the Secrets Manager secret you created, select the IAM role that AWS Glue can assume to read the secret, optionally set network options, and complete the connection creation.
Grant the IAM role associated with your AWS Glue job permission to read the secret.