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: 

Impersonating a user

dbx_687_3__1b3Q
New Contributor III

How do I impersonate a user? I can't find any documentation that explains how to do this or even hint that it's possible.

Use case: I perform administrative tasks like assign grants and roles to catalogs, schemas, and tables for the benefit of business users. Afterwards, I want to see what the user would see when they login. Currently, I must wait for the user to get back to me - which could be days. in the meantime, I've already changed directions numerous times and forgotten about their initial request.

2 REPLIES 2

Walter_C
Valued Contributor II
Valued Contributor II

Hello, many thanks for your question. Right now impersonation is not possible in the Databricks environment, one possible solution might be that if you are an account admin you can remove your admin permissions from the account console on the specific workspace while you do the testing and reassigning them back.

Otherwise you could set up a test account that you can use for this same purpose.

NandiniN
Valued Contributor III
Valued Contributor III

Hidbx_687_3__1b3Q,

Actually, I have seen impersonation, is this something that you are looking for? https://docs.gcp.databricks.com/en/dev-tools/google-id-auth.html#step-5-impersonate-the-google-cloud...