@@ -134,10 +134,15 @@ Storage][google-cloud-storage] for export bucket functionality.
134134<InfoBox >
135135
136136Ensure the AWS credentials are correctly configured in IAM to allow reads and
137- writes to the export bucket in S3.
137+ writes to the export bucket in S3 if you are not using storage integration.
138+ If you are using storage integration then you still need to configure access keys
139+ for Cube Store to be able to read from the export bucket.
140+ It's possible to authenticate with IAM roles instead of access keys for Cube Store.
138141
139142</InfoBox >
140143
144+ Using IAM user credentials:
145+
141146``` dotenv
142147CUBEJS_DB_EXPORT_BUCKET_TYPE=s3
143148CUBEJS_DB_EXPORT_BUCKET=my.bucket.on.s3
@@ -146,6 +151,27 @@ CUBEJS_DB_EXPORT_BUCKET_AWS_SECRET=<AWS_SECRET>
146151CUBEJS_DB_EXPORT_BUCKET_AWS_REGION=<AWS_REGION>
147152```
148153
154+ [ Using Storage Integration] [ snowflake-docs-aws-integration ] to write to Export Bucket and
155+ then Access Keys to read from Cube Store:
156+
157+ ``` dotenv
158+ CUBEJS_DB_EXPORT_BUCKET_TYPE=s3
159+ CUBEJS_DB_EXPORT_BUCKET=my.bucket.on.s3
160+ CUBEJS_DB_EXPORT_INTEGRATION=aws_int
161+ CUBEJS_DB_EXPORT_BUCKET_AWS_KEY=<AWS_KEY>
162+ CUBEJS_DB_EXPORT_BUCKET_AWS_SECRET=<AWS_SECRET>
163+ CUBEJS_DB_EXPORT_BUCKET_AWS_REGION=<AWS_REGION>
164+ ```
165+
166+ Using Storage Integration to write to export bocket and IAM role to read from Cube Store:
167+ ``` dotenv
168+ CUBEJS_DB_EXPORT_BUCKET_TYPE=s3
169+ CUBEJS_DB_EXPORT_BUCKET=my.bucket.on.s3
170+ CUBEJS_DB_EXPORT_INTEGRATION=aws_int
171+ CUBEJS_DB_EXPORT_BUCKET_AWS_REGION=<AWS_REGION>
172+ ```
173+
174+
149175#### Google Cloud Storage
150176
151177<InfoBox >
@@ -203,6 +229,7 @@ connections are made over HTTPS.
203229[ snowflake-docs-account-id] :
204230 https://docs.snowflake.com/en/user-guide/admin-account-identifier.html
205231[ snowflake-docs-connection-options ] : https://docs.snowflake.com/en/developer-guide/node-js/nodejs-driver-options#additional-connection-options
232+ [ snowflake-docs-aws-integration ] : https://docs.snowflake.com/en/user-guide/data-load-s3-config-storage-integration
206233[ snowflake-docs-gcs-integration] :
207234 https://docs.snowflake.com/en/user-guide/data-load-gcs-config.html
208235[ snowflake-docs-regions] :
0 commit comments