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
Update pcr guides to use encode-uri cli for managing certificates #18536
Conversation
Files changed:
|
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
|
||
You can do this by either: | ||
|
||
- [Using the `cockroach encode-uri` command to generate a connection string containing the certificate](#generate-a-connection-string-containing-the-certificate). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created two subsections here and kept the former "Copy certificates" as a different option. Happy to remove if we prefer.
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good.
|
||
{% include_cached copy-clipboard.html %} | ||
~~~ shell | ||
cockroach encode-uri {replication user}:{password}@{cluster B node IP or hostname}:26257 --ca-cert certs/ca.crt --inline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you wanted you could make the port a parameter too.
Fixes DOC-9774
This PR adds the
encode-uri
command to the pcr documentation as an alternative to copying certificates between clusters.Right now, we're not including a reference page for this command as the interface might be consolidated with another command.
Refer to the Files Changed box below for rendered docs page previews of the changes.