acme

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const AwsIamPropagationImpediment = 20 * time.Second
View Source
const DnsProviderRoute53 = "route53"

Variables

This section is empty.

Functions

func BuildRoute53DnsProvider

func BuildRoute53DnsProvider(credProvider ...DynamicCredentialsProvider) (challenge.Provider, error)

func ConvertCredentials

func ConvertCredentials(dynamicCredentials vault.AwsDynamicCredentials) credentials.Value

func GeneratePrivateKey

func GeneratePrivateKey() (crypto.PrivateKey, error)

Types

type AcmeDealer

type AcmeDealer interface {
	RegisterAccount() (*registration.Resource, error)
	ObtainCert(domain string) (*certstorage.AcmeCertificate, error)
	RenewCert(cert *certstorage.AcmeCertificate) (*certstorage.AcmeCertificate, error)
}

type DynamicCredentialsProvider

type DynamicCredentialsProvider struct {
	// contains filtered or unexported fields
}

func NewDynamicCredentialsProvider

func NewDynamicCredentialsProvider(vault *vault.VaultBackend) (*DynamicCredentialsProvider, error)

func (*DynamicCredentialsProvider) IsExpired

func (m *DynamicCredentialsProvider) IsExpired() bool

func (*DynamicCredentialsProvider) Retrieve

type GoLego

type GoLego struct {
	// contains filtered or unexported fields
}

func NewGoLegoDealer

func NewGoLegoDealer(accountStorage certstorage.AccountStorage, acmeConfig config.AcmeConfig, dnsProvider challenge.Provider) (*GoLego, error)

func (*GoLego) ObtainCert

func (l *GoLego) ObtainCert(domain string) (*certstorage.AcmeCertificate, error)

func (*GoLego) RegisterAccount

func (l *GoLego) RegisterAccount() (*registration.Resource, error)

func (*GoLego) RenewCert

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL