Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(firebolt): Switch to the new auth method #8182

Merged
merged 3 commits into from
May 15, 2024

Conversation

ptiurin
Copy link
Contributor

@ptiurin ptiurin commented Apr 23, 2024

Check List

  • Tests has been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Description of Changes Made (if issue reference is not provided)

Firebolt has a new version that requires service account authentication in order to connect programmatically. Reflecting these changes in code as well as docs.

Username/password is now legacy, working only for customers on the old version of Firebolt, who are gradually being migrated. firebolt-sdk handles connection to the right version, but needs the correct credentials wrapper, which is determined based on the presence of @ symbol in the email (service account id is alpha-numeric only).

CUBEJS_DB_USER/PASS environment variables are used to be backwards-compatible with the connections setup on the old versions of the connector.

CUBEJS_FIREBOLT_ACCOUNT is required for the new authentication to succeed.

@ptiurin ptiurin requested review from a team as code owners April 23, 2024 14:11
Copy link

vercel bot commented Apr 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:50am
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:50am
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:50am
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:50am
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:50am
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:50am
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:50am
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:50am

@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Apr 23, 2024
@ptiurin
Copy link
Contributor Author

ptiurin commented Apr 23, 2024

Credentials for testing you already poses should work in legacy mode, however a new set has been setup so service account auth can be tested. Let me know how can I send you the new credentials so you can update them in the CI.

@paveltiunov paveltiunov merged commit e559114 into cube-js:master May 15, 2024
33 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data source driver driver:firebolt pr:community Contribution from Cube.js community members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants