code: func (c Certificates) AsMap() CertificateMap {
  	certMap := make(map[string]*KubeadmCert)
  	for _, cert := range c {
  		certMap[cert.Name] = cert
  	}
  
  	return certMap
  }
docs: // AsMap returns the list of certificates as a map, keyed by name.