I am trying to use databricks sdk for python to do some account level operations like creating groups and created a databricks config file locally n provided the profile name as argument to AccountClient but authentication keeps failing. the same config file is working fine with CLI so any insights on how to provide auth details for accountclient method:
My current code is like this:
from databricks.sdk import AccountClient
a = AccountClient(profile="account")
my databirckscfg has below details:
[account]
host = https://accounts.databricks.net
account_id = <>
client_id = <>
client_secret=<>