Skip to content

Conversation

@tejaskochar-db
Copy link

@tejaskochar-db tejaskochar-db commented Jan 20, 2026

(This PR is blocked on some changes in how the Go SDK stringifies scopes being picked up in the CLI. Tests will fail till then.)

Changes

  • Updates the auth login command to take --scopes as an argument
  • Updates the auth describe and auth profiles commands to also display scopes. They give a warning that validation of authentication may not work correctly when using scopes. This is because we validate by making calls requiring specific scopes which the user may not have requested.

Why

These changes come as part of an effort to support fine-grained, user-provided scopes in all our tools.

Tests

  • unit tests
  • acceptance tests

@tejaskochar-db tejaskochar-db self-assigned this Jan 20, 2026
@tejaskochar-db tejaskochar-db marked this pull request as draft January 20, 2026 08:51
@tejaskochar-db tejaskochar-db changed the title [Draft] Scopes support in auth commands Scopes support in auth commands Jan 20, 2026
@tejaskochar-db tejaskochar-db changed the title Scopes support in auth commands [Draft] Scopes support in auth commands Jan 20, 2026
@eng-dev-ecosystem-bot
Copy link
Collaborator

eng-dev-ecosystem-bot commented Jan 20, 2026

Commit: 355231d

Run: 21165192468

Env ✅​pass 🙈​skip Time
✅​ aws linux 73 14 0:37
✅​ aws windows 73 14 0:27
✅​ aws-ucws linux 76 11 0:30
✅​ aws-ucws windows 76 11 0:39
✅​ azure linux 72 14 0:36
✅​ azure windows 72 14 0:28
✅​ azure-ucws linux 75 11 0:36
✅​ azure-ucws windows 75 11 0:32
✅​ gcp linux 73 14 0:24
✅​ gcp windows 73 14 0:29

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

Successfully merging this pull request may close these issues.

3 participants