Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateDetails ¶
type CertificateDetails struct { CommonName string `json:"common_name,omitempty"` Group string `json:"group,omitempty"` Hosts []string `json:"hosts,omitempty"` Profile string `json:"profile,omitempty"` }
CertificateDetails details of the request
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client lambda PKI client
func (Client) RequestCertificate ¶
func (c Client) RequestCertificate(details CertificateDetails) (csrPEM []byte, keyPEM []byte, certPEM []byte, err error)
RequestCertificate Request a signed certificate
type Config ¶
type Config struct { Lambda LambdaConfig `json:"lambda,omitempty"` Name string `json:"name,omitempty"` Profile string `json:"profile,omitempty"` }
Config configures the lambada ca client
Click to show internal directories.
Click to hide internal directories.