Skip to content

[v14] Added support to select database roles from tsh#36528

Merged
greedy52 merged 3 commits intobranch/v14from
STeve/backport/v14/35867
Jan 11, 2024
Merged

[v14] Added support to select database roles from tsh#36528
greedy52 merged 3 commits intobranch/v14from
STeve/backport/v14/35867

Conversation

@greedy52
Copy link
Copy Markdown
Contributor

backport #35867 to branch/v14

changelog: Added support to select database roles from tsh.

Minor conflict and rerun make grpc. Re-tested with this branch.

UX:

$ tsh db ls -v

$ tsh db connect --db-name test aurora-postgres-auto --db-roles role1,role3

$ tsh db connect --db-name test aurora-postgres-auto --db-roles role1

Will do a separate PR for doc update.

* Support selecting db roles.

* add active roles in tsh db ls

* add select db role ut

* add a warning when connecting to older version

* review comments

* chnage slices import

* --db-roles to --db-role

* fix ut
@greedy52 greedy52 self-assigned this Jan 10, 2024
@github-actions github-actions Bot added backport database-access Database access related issues and PRs size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jan 10, 2024
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from smallinsky January 10, 2024 20:49
@greedy52 greedy52 enabled auto-merge January 10, 2024 21:37
@greedy52 greedy52 added this pull request to the merge queue Jan 11, 2024
Merged via the queue into branch/v14 with commit 4827c34 Jan 11, 2024
@greedy52 greedy52 deleted the STeve/backport/v14/35867 branch January 11, 2024 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport database-access Database access related issues and PRs size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants