Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot select profile to use when making account-level API #369

Closed
mgyucht opened this issue Apr 28, 2023 · 3 comments
Closed

[BUG] Cannot select profile to use when making account-level API #369

mgyucht opened this issue Apr 28, 2023 · 3 comments

Comments

@mgyucht
Copy link
Contributor

mgyucht commented Apr 28, 2023

Trying to make an account-level API call with bricks CLI, but I can't get further than the profile prompt.

$ bricks auth login --host https://accounts.cloud.databricks.com --account-id <accountID>

$ bricks account custom-app-integration create --json '{}'
Use the arrow keys to navigate: ↓ ↑ → ←
? ~/.databrickscfg profile:

No results
@nfx
Copy link
Collaborator

nfx commented Apr 28, 2023

account profiles require account_id - https://github.com/databricks/bricks/blob/main/cmd/root/auth.go#L195-L225

bricks auth login does not (yet) create a profile in ~/.databrickscfg

@nfx
Copy link
Collaborator

nfx commented Apr 28, 2023

will be handled in scope of #358

@pietern
Copy link
Contributor

pietern commented Jun 15, 2023

Profiles are persisted from auth login since #423.

Account commands only prompt account profiles since #454.

@pietern pietern closed this as completed Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants