Skip to content

Conversation

@kevinawoo
Copy link
Member

@kevinawoo kevinawoo commented Oct 1, 2025

What was changed

  • make the sample copy/paste-able
  • trust the server public cert
  • use client cert for auth
  • test the connection by getting the version info

Why?

Make it easier to test this sample by having a easily copy/paste-able sample

Checklist

  1. How was this tested: locally
  2. Any docs updates needed? nope, we're good

@kevinawoo kevinawoo requested a review from a team as a code owner October 1, 2025 19:32
@kevinawoo kevinawoo requested a review from Copilot October 1, 2025 19:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the tls-simple README example to be a copy/paste-able Go program that establishes a TLS/mTLS connection to Temporal and validates connectivity.

  • Converts the snippet into a runnable main program.
  • Trusts the server CA and supplies a client certificate for mTLS.
  • Adds a connectivity check using GetSystemInfo.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@temporalio temporalio deleted a comment from Copilot AI Oct 1, 2025
@temporalio temporalio deleted a comment from Copilot AI Oct 1, 2025
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