CA Certificate and JWT tokens on kubernetes

僤鯓⒐⒋嵵緔 提交于 2019-12-11 08:07:09

问题


With what CA Certificate are the Kubernetes Service Account JWT tokens signed with? Is there a way to get the public key with which kubernetes service accounts are signed in GKE?


回答1:


You have no access to that key in GKE.

In general, the Service Account JWT tokens are signed with an RSA key by the controller manager. The key is specified by the --service-account-private-key-file for kube-controller-manager. (The public key is specified by the --service-account-key-file parameter for kube-apiserver.)



来源:https://stackoverflow.com/questions/46402683/ca-certificate-and-jwt-tokens-on-kubernetes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!