.nh .TH "KubeOne" "1" "May 2025" "Auto generated by spf13/cobra" "" .SH NAME .PP kubeone-kubeconfig-generate - Generate kubeconfig .SH SYNOPSIS .PP \fBkubeone kubeconfig generate [flags]\fP .SH DESCRIPTION .PP Generate kubeconfig with given certificate parameters. .SH OPTIONS .PP \fB--cn\fP="" CommonName (CN) for the generated client certificate. .PP \fB-h\fP, \fB--help\fP[=false] help for generate .PP \fB--on\fP=[] OrganizationName (ON) for the generated client certificate. .PP \fB-s\fP, \fB--super-admin\fP[=false] Generate superadmin kubeconfig, shorthand for --cn @ --on system:masters .PP \fB--ttl\fP=1h0m0s Time To Live for the generated certificate. .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB-c\fP, \fB--credentials\fP="" File to source credentials and secrets from .PP \fB-d\fP, \fB--debug\fP[=false] debug output with stacktrace .PP \fB-l\fP, \fB--log-format\fP="text" format for logging .PP \fB-m\fP, \fB--manifest\fP="./kubeone.yaml" Path to the KubeOne config .PP \fB-t\fP, \fB--tfjson\fP="" Source for terraform output in JSON - to read from stdin. If path is a file, contents will be used. If path is a dictionary, \fBterraform output -json\fR is executed in this path .PP \fB-v\fP, \fB--verbose\fP[=false] verbose output .SH EXAMPLE .EX kubeone kubeconfig generate -m mycluster.yaml -t tf.json --super-admin .EE .SH SEE ALSO .PP \fBkubeone-kubeconfig(1)\fP .SH HISTORY .PP 29-May-2025 Auto generated by spf13/cobra