Skip to content

hsiaoairplane/kubecert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubecert: Parse kubeconfig certificate

kubecert is a utility to parse kubeconfig certificate and generate certificate files for furthur usage like curl k8s api server swagger.json

kubectx demo GIF

Usage

$ kubecert
Generating ca certificate to ca.pem
Generating context "cluster1" client certificate to cluster1-client.pem
Generating context "cluster1" client key to cluster1-client-key.pem

Installation

Since kubecert is written in Bash, you should be able to install them to any POSIX environment that has Bash installed.

Example

curl --cacert ./ca.pem --key ./cluster-key.pem --cert ./cluster.pem  'https://<api-server-ip-address>/swagger.json'

Releases

No releases published

Packages

No packages published

Languages