cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
cancel
Showing results for 
Search instead for 
Did you mean: 

PAT Tokens access restrictions

paritoshsh
New Contributor II

Hi,

We have a Databricks workspace on which we have disabled PAT's for now. Moving ahead we want the developers to use Personal Access Tokens but only for development purpose.

As I know the current option to enable PAT's give access to the whole REST API and we dont want that. Is there a way we can add restrictions to PAT usage?

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @paritoshsh, As per the current Databricks documentation, there is no direct way to add restrictions to Personal Access Tokens (PATs). When you create a PAT, it provides access to the entire Databricks REST API.

However, you can restrict the generation of PATs to administrators only for security purposes. 

Here is how you can generate a PAT:

1. Go to your workspace.
2. Click the user icon in the top-right corner of the screen and click **User Settings**.
3. Click **Access Tokens > Generate New Token**.
4. Copy and save the token value.

Remember, a PAT is suitable for administrative configuration tasks, but Azure AD tokens are preferred for production workloads.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.