- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2022 06:31 AM
We have API availabe for repos https://docs.databricks.com/dev-tools/api/latest/repos.html#operation/get-repos also we are currently supporting SP.
Step 1: As an admin Create a Service Principal
Use this API SCIM API 2.0 (ServicePrincipals) | Databricks on AWS
Related doc: https://docs.databricks.com/administration-guide/users-groups/service-principals.html
Step 2: As an admin create a Databricks token on behalf of the Service Principal
Use this API:
Token Management API 2.0 | Databricks on AWS
Related doc: https://docs.databricks.com/administration-guide/users-groups/service-principals.html
Step 3: Using the Service Principal Databricks Token call the Git Credentials API
Add the Git token via this API: Git Credentials API 2.0 | Databricks on AWS
Step 4: Invoke Repos APIs as service principal using the SPNs Databricks Token
Related stackoverflow questions: Databricks REST API call for updating branch error : User Settings > Git Integration to set up an Az...