Skip to content

Quicksight IAM based RDS login

0

Is it possible to connect (Aurora-)RDS using IAM-based login (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) from quicksight ? As far as I see we can just make use of username/password or a secret.

asked 2 years ago590 views

2 Answers
1
Accepted Answer

Currently, Amazon QuickSight does not support connecting to Amazon RDS (including Aurora) using IAM-based authentication directly. QuickSight primarily relies on database connections through either a username/password pair or a secret stored in AWS Secrets Manager.

While IAM database authentication for RDS allows the use of IAM roles and temporary credentials, adding an extra layer of security for database access, QuickSight has not yet integrated this capability. The available methods remain limited to static credentials or credentials managed via Secrets Manager.

To incorporate IAM authentication in your workflow with QuickSight, one potential approach would be:

  1. Generate temporary credentials using IAM authentication for your RDS instance, then store and manage these credentials in AWS Secrets Manager for use by QuickSight.
  2. Alternatively, leverage an intermediate ETL process (e.g., AWS Glue or AWS Lambda) to retrieve data from RDS using IAM-based login, then load the data into a QuickSight-compatible source such as Amazon S3 (through Athena) or Amazon Redshift.

This approach enables the use of IAM-based RDS login indirectly by employing a compatible data layer for QuickSight reporting.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

0

Thanks Pandurangaswamy,

clear answer. I think, the possibility to use a IAM-based login would be a nice and important feature for Quicksight. Do you know, if this is already on the roadmap of quicksight?

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.