Connections > Amazon Redshift V2 connection > Configure an assume role for Amazon Redshift
  

Configure an assume role for Amazon Redshift

Configure an AssumeRole to enable Redshift IAM users to generate temporary security credentials to access Amazon Redshift.
To use the AssumeRole for the Redshift IAM user, specify the Redshift Access Key ID and Redshift Secret Access Key of the IAM user in the connection.
For more information about configuring an AssumeRole, see the following How-to-Library article: Configure AssumeRole authentication for Amazon Redshift V2 Connector
Generate the temporary security credentials based on your requirement.