Skip to content

Latest commit

 

History

History

encryption

Steps to run this sample:

  1. Run a Temporal service.
  2. Run the following command to start the remote codec server
go run ./codec-server
  1. Run the following command to start the worker
go run worker/main.go
  1. Run the following command to start the example
go run starter/main.go
  1. Run the following command and see the payloads cannot be decoded
tctl workflow show --wid encryption_workflowID
  1. Run the following command and see the decoded payloads
tctl --codec_endpoint 'http://localhost:8081/' workflow show --wid encryption_workflowID

Note: The codec server provided in this sample does not support decoding payloads for the Temporal Web UI, only tctl. Please see the codec-server sample for a more complete example of a codec server which provides UI decoding and oauth.