Better interface for client credentials #144
andrefurlan-db
started this conversation in
Ideas
Replies: 1 comment
-
the reason is that we use the same interface for Terraform and Bricks CLI - https://registry.terraform.io/providers/databricks/databricks/latest/docs#special-configurations-for-azure all configuration properties are enumerated through environment variables in CI/CD setting. If we separate OAuth Client, this seamless enumeration experience becomes more difficult to manage, also across languages. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now it is quite easy to use OAuthClient. It encapsulates Azure vs AWS differences and it returns a credentials_provider, which is nice. However, ClientCredentials is very crude and does nothing of the above.
One proposal [preferred] would be to encapsulate ClientCredentials within OAuthClient and have a single client to worry about.
An alternative would be to have a ClientCredentialsClient that provides a cloud-agnostic API and returns a credentials_provider.
Beta Was this translation helpful? Give feedback.
All reactions