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:ย 

How to add instance profile permission to all user via databricks-sdk workspace client

samarth_solanki
New Contributor II

How to add instance profile permission to all user via databricks-sdk workspace client. Just like terraform where we can give "users" for all users , how can we don same using databricks-sdk workspace-client. I cannot find permission for instance profile in documentation and all user case anywhere.

2 REPLIES 2

Kaniz_Fatma
Community Manager
Community Manager

Hi @samarth_solanki

To manage instance profiles in Databricks and grant access to users, you can follow these steps:

  1. Using the Admin Settings Page:

    • As a workspace admin, go to the admin settings page.
    • Click the Instance Profiles tab.
    • Select the instance profile you want to update.
    • In the dropdown below the instance profile details, select or enter the user, group, or service principal.
    • Click Add1.
  2. Assigning Instance Profiles to Groups:

    • Navigate to the admin settings page.
    • Click on the Identity and Access tab.
    • Under Groups, click Manage.
    • Select the group you want to update.
    • On the Instance Profiles tab, click + Add Instance Profiles to Group.
    • Choose the instance profiles you want to add.
    • Click Add1.
  3. Using the API:

    • Workspace admins can manage access to instance profiles using workspace-level SCIM APIs for users, service principals, and groups.
    • To grant a group access to an instance profile, use the following pattern:
      curl --netrc -X PATCH \
      https://<databricks-instance>/api/2.0/preview/scim/v2/Groups/<group-id> \
      --header 'Content-type: application/scim+json' \
      --data @update-group.json
      
      Replace:

Remember that instance profiles allow users to deploy clusters with specific permissions defined by the profile. If you encounter any issues, refer to the official documentation for more details

 

I want to give it to all users. How can i give that permission? do i have to write each group/user name

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!