databricks-cli/cmd/auth
Pieter Noordhuis a835a3e564
Ignore environment variables for `auth profiles` ()
## Changes

If environment variables related to unified authentication are set and a
user runs `auth profiles`, the environment variables will interfere with
the output. This change only takes profile data into account for the
output.

## Tests

Added a unit test.
2024-02-08 12:25:51 +00:00
..
README.md Rename bricks -> databricks () 2023-05-16 18:35:39 +02:00
auth.go Remove dependency on global state for remaining commands () 2023-07-27 10:03:08 +00:00
env.go Added `env.UserHomeDir(ctx)` for parallel-friendly tests () 2023-11-08 14:50:20 +00:00
login.go Ask for host when .databrickscfg doesn't exist () 2023-12-04 15:40:52 +00:00
login_test.go Tolerate missing .databrickscfg file during `databricks auth login` () 2023-11-23 09:04:54 +00:00
profiles.go Ignore environment variables for `auth profiles` () 2024-02-08 12:25:51 +00:00
profiles_test.go Ignore environment variables for `auth profiles` () 2024-02-08 12:25:51 +00:00
token.go Use profile information when getting a token using the CLI () 2023-10-11 11:12:18 +00:00

README.md

Auth challenge (happy path)

Simplified description of PKCE implementation:

Token refresh (happy path)