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

Open
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

hectorcast-db
Copy link
Contributor

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

DO NOTE MERGE

Waiting for server side update

What changes are proposed in this pull request?

Implement Databricks OIDC as Token Source

How is this tested?

Added unit and integration tests

Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

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

Looking great, few suggestions but otherwise very happy with this!

@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

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: a7c2ab0a65b159f657a76944e554eee1d5d185bc

Checks will be approved automatically on success.

// 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants