github.com/kubernetes-incubator/kube-aws@v0.16.4/pki/types.go (about)

     1  package pki
     2  
     3  import (
     4  	"crypto/rsa"
     5  	"crypto/x509"
     6  )
     7  
     8  // KeyPair is the TLS public certificate PEM file and its associated private key PEM file that is
     9  // used by kube-aws and its plugins
    10  type KeyPair struct {
    11  	Key  *rsa.PrivateKey
    12  	Cert *x509.Certificate
    13  
    14  	id string
    15  
    16  	keyPem  []byte
    17  	certPem []byte
    18  }