Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Enhancement - Authentication using OAuth tokens for service principals. #46

Open
ganeshrohan opened this issue Jun 10, 2023 · 0 comments

Comments

@ganeshrohan
Copy link

The current implementation utilizes Databricks CLI - ApiClient for authentication, which requires the user to provide a username and password or a Personal Access Token (PAT).
It would help if the token generation and refreshing process could be automated using Azure service principal credentials. This would simplify the authentication process.

For example - The below function call can be implemented:
_get_token .

(https://github.com/apache/airflow/blob/da4912b5e562c7a30e0c54f79220c99a32e69ab9/airflow/providers/databricks/hooks/databricks_base.py#L213)

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

No branches or pull requests

1 participant