cube-js/cube

Cube API and Refresh Worker use Instance Metadata for AWS Credentials like Cube Store does

Open

#4,334 opened on Apr 6, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (1,965 forks)batch import
help wanted

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (Avg merge 5d 16h) (138 merged PRs in 30d)

Description

Right now it doesn't appear that the Cube API or Refresh Worker is capable of using AWS Instance Metadata to authenticate with AWS. However, the Cube Store containers already have this capability.

From a security and configuration management perspective, Role Based Access is greatly preferred over passing in long-term access credentials to the containers with environment variables. Is this already on the road map?

This would be very useful when using the CUBEJS_DB_EXPORT_BUCKET configuration.

Contributor guide