documentation
documentation copied to clipboard
Issue with API key SDK instructions - Java
Temporal Affiliation
- [x] I am a Temporal employee
Page URL
https://docs.temporal.io/cloud/api-keys#java-sdk
Content Issue
Hi Docs team! Along this same vein the Java SDK docs for api keys (buried as mentioned above) isn't actually correct. It shows you using a function called .addApiKey that takes a lambda function that returns a string. That function doesn't exist. I did figure out how to make it work though here is a snippet that captures the essence, let me know if you want any clarification.
This only applies for SDK before v 1.8.1