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

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

Merged
merged 3 commits into from Jan 11, 2024

Conversation

greedy52
Copy link
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
@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
31 checks passed
@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.

None yet

3 participants