Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRoleCertificate ¶
GetRoleCertificate requests an AWS role identify certificate from the Keymaster server specified in params. It returns the certificate PEM.
func GetRoleCertificateTLS ¶
func GetRoleCertificateTLS(params Params) (*tls.Certificate, error)
GetRoleCertificateTLS requests an AWS role identify certificate from the Keymaster server specified in params. It returns the certificate.
Types ¶
type Manager ¶
type Manager struct {
Params
// contains filtered or unexported fields
}
func NewManager ¶
NewManager returns a certificate manager which provides AWS role identity certificates from the Keymaster server specified in params. Certificates are refreshed in the background.
func (*Manager) GetClientCertificate ¶
func (m *Manager) GetClientCertificate(cri *tls.CertificateRequestInfo) ( *tls.Certificate, error)
GetClientCertificate returns a valid, cached certificate.
Click to show internal directories.
Click to hide internal directories.