Morpheus add external Kubernetes Cluster

I believe you can pull it from the UI in Rancher, but this post of creating a service account references pulling the API key and may be useful: