cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Authenticating gitlab with databricks via username & password?

reachbharathan
New Contributor III

Currently we have azure databricks and gitlab in our project, for integrating with code repository we have only gitlab, integrating with personal access token is possible,

But it flagged out as potential risk of personal access token exposure, wanted to know is there a way to integrate via username & password

Note: I am aware of Azure Repos supported to integrate via AD, but we want gitlab to be authenticaiton via username & password

1 ACCEPTED SOLUTION

Accepted Solutions

reachbharathan
New Contributor III

Thank you folks,

currently only way to integrate with gitlab is only with Personal Access Token,

There is not way to intergrate gitlab via password, as per our security recommendation, we need to have additional mechanism to integrate as exposure of Personal Access Token can lead to user impersonation.

Also our gitlab is accessible over public network which increases the risk impact.

View solution in original post

4 REPLIES 4

karthik_p
Esteemed Contributor

@Bharathan Kโ€‹ usually token is secured form and looks only supported approach as per documentation is with token. will see if any one used with username and password

etsyal1e2r3
Honored Contributor

Youll need to use the token when you set up the repo initially in databricks. But if you have something flagged then where are you storing it exactly for this to happen? I geberated a token in gitlab and used it when initially setting up the repo and havent had to worry about it since.

Anonymous
Not applicable

Hi @Bharathan Kโ€‹ 

We haven't heard from you since the last response from @karthik pโ€‹ and @Tyler Retzlaffโ€‹ โ€‹ . Kindly share the information with us, and in return, we will provide you with the necessary solution.

 Thanks and Regards

reachbharathan
New Contributor III

Thank you folks,

currently only way to integrate with gitlab is only with Personal Access Token,

There is not way to intergrate gitlab via password, as per our security recommendation, we need to have additional mechanism to integrate as exposure of Personal Access Token can lead to user impersonation.

Also our gitlab is accessible over public network which increases the risk impact.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group