Skip to content

Implement Databricks OIDC as Token Source #1204

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

Merged
merged 36 commits into from
Apr 29, 2025

Conversation

hectorcast-db
Copy link
Contributor

@hectorcast-db hectorcast-db commented Apr 8, 2025

What changes are proposed in this pull request?

Implement Databricks OIDC as Token Source

How is this tested?

Added unit and integration tests

@hectorcast-db hectorcast-db force-pushed the hectorcast-db/databricks-auth2 branch from 3e0b95b to b09f4e8 Compare April 9, 2025 11:20
@@ -0,0 +1,42 @@
package config
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file still used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was used by azure. Remove and replaced by the new Id TokenSource

// This is only used for Account level tokens.
AccountID string
// Host is the host of the Databricks account or workspace.
Host string

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this field is never used. Is there a reason why we have it as a field? If not, would it be possible to remove it?

Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-go

Inputs:

  • PR number: 1204
  • Commit SHA: 41c2e7b80d01b5016eff306880093500497a70bd

Checks will be approved automatically on success.

@hectorcast-db hectorcast-db added this pull request to the merge queue Apr 29, 2025
Merged via the queue into main with commit be2e0db Apr 29, 2025
15 checks passed
@hectorcast-db hectorcast-db deleted the hectorcast-db/databricks-auth2 branch April 29, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants