cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Profile setup for databricks Account

Prasad_Koneru
New Contributor II

Hi Team,

we usually do setup profile for databrikcs at workspace level, and i have done this using host url and token which is working fine like below.

[DEFAULT]
host = workspaceurl
username = ****
password = token

Now my question is how we set for databricks account. by providing url as host = https://accounts.azuredatabricks.net

do we have option to generate token at account??

 

1 REPLY 1

Walter_C
Valued Contributor III
Valued Contributor III

You cannot create a PAT token for you Account Console authentication, on this case you will have 2 options to authenticate:

Using Basic auth, on which on your profile you will set you username and password to log in, same as you do to log in in the browser,

Using Oauth process, OAuth provides tokens with faster expiration times than Databricks personal access tokens, and offers better server-side session invalidation and scoping. Because OAuth access tokens expire in less than an hour, this reduces the risk associated with accidentally checking tokens into source control.

https://docs.databricks.com/en/dev-tools/cli/authentication.html#oauth-user-to-machine-u2m-authentic...

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!