databricks-cli/libs/auth
shreyas-goenka 807a37b36a
Add the `auth.EnvVars` function (#2403)
## Changes
This PR adds the auth.EnvVars function, which is a list of all
environment variables that the SDK uses to read auth configuration.

This is useful for spawning subprocesses since you can unset all auth
environment variables to clean up the environment before configuring the
auth.

It's used in #2278 today and will also be useful for the `databricks
bundle exec` command.
 
## Tests
Unit test.
2025-03-03 14:58:43 +00:00
..
cache Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
callback.go Enable errcheck everywhere and fix or silent remaining issues (#1987) 2024-12-11 13:26:00 +01:00
env.go Add the `auth.EnvVars` function (#2403) 2025-03-03 14:58:43 +00:00
env_test.go Add the `auth.EnvVars` function (#2403) 2025-03-03 14:58:43 +00:00
oauth.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
oauth_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
page.tmpl Fix link to workspace after AWS OAuth login (#234) 2023-03-08 11:56:46 +01:00