Versions in this module Expand all Collapse all v0 v0.1.1 Dec 4, 2017 Changes in this version type ACM + func (a *ACM) ListDeleteTargets(statuses string, maxItems int64, nextToken string) ([]string, map[string]string, error) type IAM + func (i *IAM) ListMap(marker string, maxItems int64, path string) (map[string]IAMDescription, error) v0.1.0 Nov 30, 2017 Changes in this version + func CheckPrivateKeyBitLen(bit int) error + func CheckTagValuePattern(val string) error + func Choice(choices []string, msg string, pagesize int) string + func GetCertificateData(data, fpath string) ([]byte, error) + func NewAWSSession(accessKey, secretKey, arn, token, region, profile, config, creds string) (*session.Session, error) + func PrivateKeyBitLen(certBlock, keyBlock []byte) (int, error) + func SplitStatuses(s string) []string + type ACM struct + func NewACM(sess *session.Session) *ACM + func (a *ACM) AddTags(arn string, tags []Tag) error + func (a *ACM) Delete(arn string) (string, error) + func (a *ACM) Import(cert, chain, pkey []byte) (string, string, error) + func (a *ACM) List(statuses string, maxItems int64, nextToken string) ([]ACMDescription, error) + func (a *ACM) ListArns(statuses string, maxItems int64, nextToken string) ([]string, error) + func (a *ACM) ReadableList(descs []ACMDescription) + type ACMDescription struct + type ALB struct + func NewALB(sess *session.Session) *ALB + func (alb *ALB) BulkUpdate(srcCertArn, destCertArn string, dryRun bool) ([]string, error) + func (alb *ALB) List(certFilter string) ([]ALBDescription, error) + func (alb *ALB) ReadableList(descs []ALBDescription) + func (alb *ALB) Update(name string, certArn string) error + type ALBCertificate struct + type ALBDescription struct + type CFDistribution struct + type CertificateManager struct + Cert []byte + Chain []byte + Pkey []byte + func NewCertificateManager() *CertificateManager + func (cm *CertificateManager) CheckPrivateKeyBitLen() error + func (cm *CertificateManager) LoadCertificate(cert, certPath string) error + func (cm *CertificateManager) LoadChain(chain, chainPath string) error + func (cm *CertificateManager) LoadPrivateKey(pkey, pkeyPath string) error + type CloudFront struct + func NewCloudFront(sess *session.Session, marker string, maxItems int64) *CloudFront + func (cf *CloudFront) BulkUpdate(service, srcCert, destCert string, dryRun bool) ([]string, error) + func (cf *CloudFront) GetDistribution(id string) (*cloudfront.GetDistributionOutput, error) + func (cf *CloudFront) List(certFilter, aliasesFilter string) ([]CFDistribution, error) + func (cf *CloudFront) ReadableList(dists []CFDistribution) + func (cf *CloudFront) Update(id, service, cert string) (string, error) + type ELB struct + func NewELB(sess *session.Session) *ELB + func (e *ELB) BulkUpdate(srcCertArn, destCertArn string, dryRun bool) ([]string, error) + func (e *ELB) List(certFilter string) ([]ELBDescription, error) + func (e *ELB) ReadableList(descs []ELBDescription) + func (e *ELB) Update(name string, port int64, certArn string) (string, error) + type ELBCertificate struct + type ELBDescription struct + type IAM struct + func NewIAM(sess *session.Session) *IAM + func (i *IAM) Delete(name string) (string, error) + func (i *IAM) List(marker string, maxItems int64, path string) ([]IAMDescription, error) + func (i *IAM) ListNames(marker string, maxItems int64, path string) ([]string, error) + func (i *IAM) ReadableList(descs []IAMDescription) + func (i *IAM) Update(newPath, newName, name string) (string, error) + func (i *IAM) Upload(cert, chain, pkey []byte, path, name string) (string, error) + type IAMDescription struct + type Tag struct + Key string + Value string