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

PR #101987 - cli/sql: new option autocerts for TLS client cert auto-discovery #16950

Open
cockroach-teamcity opened this issue May 12, 2023 · 0 comments

Comments

@cockroach-teamcity
Copy link
Member

Related PR: cockroachdb/cockroach#101987
Commit: cockroachdb/cockroach@dedeacf
Fixes: CRDB-27201


Release note (cli change): The \connect client-side command for the
SQL shell (included in cockroach sql, cockroach demo,
cockroach-sql) now recognizes an option autocerts as last
argument.

When provided, \c will now try to discover a TLS client
certificate and key in the same directory(ies) as used by the previous
connection URL.

This feature makes it easier to switch usernames when
TLS client/key files are available for both the previous and the new
username.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant