cube-js / cube

📊 Cube — The Semantic Layer for Building Data Applications
https://cube.dev
Other
17.8k stars 1.76k forks source link

Automatically retrieve Redshift cluster credentials #3033

Open hassankhan opened 3 years ago

hassankhan commented 3 years ago

Is your feature request related to a problem? Please describe. Currently Redshift credentials must be supplied as CUBEJS_DB_* environment variables.

Describe the solution you'd like Support retrieving database credentials automatically via Redshift.getClusterCredentials() from the AWS SDK.

Additional context An old PR implementing this can be found here: https://github.com/cube-js/cube.js/pull/320

emmanuel commented 2 years ago

Also related to (possible duplicate of) #306