cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Access to personal access token via python

erigaud
Honored Contributor

Is there a way to get an existing personal access token via python ? Either through and sdk or a rest endpoint ? Or is the only way to do that to store the PAT in a key vault and retrieve it via a secret scope ? 

Thank you !

1 ACCEPTED SOLUTION

Accepted Solutions

Ajay-Pandey
Esteemed Contributor III

Hi @erigaud ,

You can create personal access token via using service principal using the POST /token-management/on-behalf-of/tokens

Please refer below documents for the same- 

Manage service principals | Databricks on AWS

Ajay Kumar Pandey

View solution in original post

2 REPLIES 2

Ajay-Pandey
Esteemed Contributor III

Hi @erigaud ,

You can create personal access token via using service principal using the POST /token-management/on-behalf-of/tokens

Please refer below documents for the same- 

Manage service principals | Databricks on AWS

Ajay Kumar Pandey

Anonymous
Not applicable

Hi @Ajay-Pandey 

Hope everything is going great.

Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best so that other members can find the solution more quickly? If not, please tell us so we can help you. 

Cheers!

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