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: 

CLI: Cannot Configure Additional Profiles in web terminal

healthcareds
New Contributor

Hello,

I'm having a hard adding secrets since the change from the legacy CLI. Executing "databricks configure" as referenced in the personal access token section of this document does nothing. I have verified that the CLI is installed as v0.216.0.

healthcareds_0-1711634401208.png

 

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @healthcaredsI understand that you’re facing difficulties with adding secrets to Databricks since the transition from the legacy CLI.

Let’s troubleshoot this together.

Databricks personal access tokens are now one of the most well-supported types of credentials for resources and operations at the Databricks workspace level.

To create a personal access token, follow these steps:

  1. In your Databricks workspace, click your username in the top bar, and then select User Settings from the dropdown.
  2. Click Developer.
  3. Next to Access tokens, click Manage.
  4. Click Generate new token.
  5. Optionally, enter a comment to help identify this token in the future, and adjust the token’s default lifetime (default is 90 days). You can even create a token with no lifetime by leaving the Lifetime (days) box empty.
  6. Click Generate.
  7. Copy the displayed token to a secure location and click Done.

Remember to save the copied token securely and do not share it with others. If you lose the token, you won’t be able to regenerate the exact same one. If you suspect the token has been compromised, promptly delete it by clicking the trash can icon next to the token on the Access tokens page.

If you’re unable to create or use tokens, it might be because your workspace administrator has disabled tokens or hasn’t granted you permission. Check with your administrator or refer to the following resources:

Feel free to give this a try, and let me know if you encounter any issues! 😊

 
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!