Kubernetes User Operations: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* [[Kubernetes_Security_Operations#User_Operations|Kubernetes Security Operations]] | * [[Kubernetes_Security_Operations#User_Operations|Kubernetes Security Operations]] | ||
* [[Kubernetes_Security_Concepts|Kubernetes Security Concepts]] | * [[Kubernetes_Security_Concepts|Kubernetes Security Concepts]] | ||
=Create a Normal User= | |||
<syntaxhighlight lang='text'> | |||
kubectl config set-credentials alice --username=alice --password=somepassword | |||
</syntaxhighlight> | |||
=<span id='Add_a_Normal_User_via_a_Certificate'></span>Add a User via a Certificate= | =<span id='Add_a_Normal_User_via_a_Certificate'></span>Add a User via a Certificate= |
Revision as of 02:04, 5 March 2021
External
Internal
Create a Normal User
kubectl config set-credentials alice --username=alice --password=somepassword
Add a User via a Certificate
A user can authenticate against the Kubernetes cluster by being issued a certificate by the Kubernetes cluster and then present the certificate to the API call as the Certificate Header, or through kubectl.
TODO: https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/#normal-user
TODO: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#x509-client-certs
Add a User with Bearer Tokens
Static Token File
TODO: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#static-token-file