Versions in this module Expand all Collapse all v1 v1.0.0 Apr 28, 2021 Changes in this version + const DefaultCertDuration + const DefaultCertRenewalRatio + var ErrCodeNotFoundException = errors.New("notFoundException") + var ErrUnknownKeyType = errors.New("unknownKeyType") + type CreateKeyInput struct + AliasName string + CustomerMasterKeySpec string + Description string + Policy string + Tags map[string]string + type DeleteKeyInput struct + AliasName string + PendingWindowInDays int + type GenerateCertificateAuthorityCertificateInput struct + Duration time.Duration + KeyID string + Rounding time.Duration + Subject pkix.Name + type IssueCertificateInput struct + Cert *x509.Certificate + KeyID string + Parent *x509.Certificate + PublicKey crypto.PublicKey + type KMSCA struct + Client kmsiface.KMSAPI + func NewKMSCA(p client.ConfigProvider, cfgs ...*aws.Config) *KMSCA + func (ca *KMSCA) CreateKey(input *CreateKeyInput) (string, error) + func (ca *KMSCA) DeleteKey(input *DeleteKeyInput) error + func (ca *KMSCA) GenerateAndSignCertificateAuthorityCertificate(input *GenerateCertificateAuthorityCertificateInput) (*x509.Certificate, error) + func (ca *KMSCA) GenerateCertificateAuthorityCertificate(input *GenerateCertificateAuthorityCertificateInput) *x509.Certificate + func (ca *KMSCA) SignCertificate(input *IssueCertificateInput) (*x509.Certificate, error) + type Key struct + KeyID string