-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Add Service Principal OAuth for Databricks. #33005
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
cc @alexott |
Really we need to prioritize of adoption of new Databricks SDK, although it doesn't have async support yet. Then we'll get all auth support automatically |
The Databricks SDK is still in beta with an unstable interface, right? I assume we're waiting until the SDK is stable to adopt it? |
Authentication part is stable, unstable primarily belongs to specific APIs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in general looks good for me, but let unify code, fix tests, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comment on documentation.
docs/apache-airflow-providers-databricks/connections/databricks.rst
Outdated
Show resolved
Hide resolved
@johnbrandborg thank you for doing it! Changes looks good for me |
docs need fixing though |
Link name updated to not conflict. |
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
* Add Service Principal Oauth for Databricks. (apache#32969) * Consolidate OAuth validation and storage (apache#32969) * Formatting update and added API and Spark to Init Import * Update documentation with doc ref and note this is for AWS deployments
* Add Service Principal Oauth for Databricks. (apache#32969) * Consolidate OAuth validation and storage (apache#32969) * Formatting update and added API and Spark to Init Import * Update documentation with doc ref and note this is for AWS deployments
Update the Databricks Hook so that a Service Principal OAuth Client ID and Client Secret can be used like a username and password. The Hook will perform the token retrieval as needed.
closes: #32969