- Run a Temporal service.
- Run the following command to start the remote codec server
go run ./codec-server
- Run the following command to start the worker
go run worker/main.go
- Run the following command to start the example
go run starter/main.go
- Run the following command and see the payloads cannot be decoded
temporal workflow show --workflow-id encryption_workflowID
- Run the following command and see the decoded payloads
temporal workflow show --workflow-id encryption_workflowID --codec-endpoint 'http://localhost:8081/'
Note: The codec server provided in this sample does not support decoding payloads for the Temporal Web UI, only Temporal CLI. Please see the codec-server sample for a more complete example of a codec server which provides UI decoding and oauth.