How to pass AWS profile to connect to DynamoDB /Athena

Issue Summary

A summary of the issue and the browser/OS environment in which it occurs.

Technical details:

We have installed redash using self hosted docker image .
We have an issue connecting to DynamoDB with below error
““The security token included in the request is invalid.”}”

But if we pass AWS profile name from docker we are able to connect to AWS through boto3

How can we pass profile name to Redash ???

or Can ReDASH connect without profilename

  • Redash Version: v7.0.0
  • Browser/OS:MacOS
  • How did you install Redash:Docker

The current implementation of the DynamoDB connector uses AWS access keys and not a profile.