Documentation
¶
Index ¶
- Constants
- func BuildRoute53DnsProvider(credProvider ...DynamicCredentialsProvider) (challenge.Provider, error)
- func ConvertCredentials(dynamicCredentials vault.AwsDynamicCredentials) credentials.Value
- func GeneratePrivateKey() (crypto.PrivateKey, error)
- type AcmeDealer
- type DynamicCredentialsProvider
- type GoLego
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 ¶
func (m *DynamicCredentialsProvider) Retrieve() (credentials.Value, error)
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 ¶
func (l *GoLego) RenewCert(cert *certstorage.AcmeCertificate) (*certstorage.AcmeCertificate, error)
Click to show internal directories.
Click to hide internal directories.