-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'add-azure-credential' of https://github.com/MaggieZhang…
…-01/cube into MaggieZhang-01-add-azure-credential # Conflicts: # packages/cubejs-backend-shared/src/env.ts # packages/cubejs-databricks-jdbc-driver/package.json # packages/cubejs-databricks-jdbc-driver/src/DatabricksDriver.ts
- Loading branch information
Showing
9 changed files
with
380 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,6 +134,17 @@ CUBEJS_DB_EXPORT_BUCKET=wasbs://[email protected] | |
CUBEJS_DB_EXPORT_BUCKET_AZURE_KEY=<AZURE_STORAGE_ACCOUNT_ACCESS_KEY> | ||
``` | ||
|
||
Access key provides full access to the configuration and data, | ||
to use a fine-grained control over access to storage resources, follow [the Databricks guide on authorize with Azure Active Directory][authorize-with-azure-active-directory]. | ||
|
||
[Create the service principal][azure-authentication-with-service-principal] and replace the access key as follows: | ||
|
||
```dotenv | ||
CUBEJS_DB_EXPORT_BUCKET_AZURE_TENANT_ID=<AZURE_TENANT_ID> | ||
CUBEJS_DB_EXPORT_BUCKET_AZURE_CLIENT_ID=<AZURE_CLIENT_ID> | ||
CUBEJS_DB_EXPORT_BUCKET_AZURE_CLIENT_SECRET=<AZURE_CLIENT_SECRET> | ||
``` | ||
|
||
## SSL/TLS | ||
|
||
Cube does not require any additional configuration to enable SSL/TLS for | ||
|
@@ -150,6 +161,10 @@ bucket][self-preaggs-export-bucket] **must be** configured. | |
[azure-bs]: https://azure.microsoft.com/en-gb/services/storage/blobs/ | ||
[azure-bs-docs-get-key]: | ||
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=azure-portal#view-account-access-keys | ||
[authorize-with-azure-active-directory]: | ||
https://learn.microsoft.com/en-us/rest/api/storageservices/authorize-with-azure-active-directory | ||
[azure-authentication-with-service-principal]: | ||
https://learn.microsoft.com/en-us/azure/developer/java/sdk/identity-service-principal-auth | ||
[databricks]: https://databricks.com/ | ||
[databricks-docs-dbfs]: https://docs.databricks.com/en/dbfs/mounts.html | ||
[databricks-docs-azure]: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.