Documentation
¶
Index ¶
- Constants
- Variables
- func GetExistingCertificate(ctx context.Context, albArn, domain string) (string, *x509.Certificate, error)
- func LoadOrCreateAccountKey(ctx context.Context, keyStore AccountKeyStore) (*ecdsa.PrivateKey, error)
- func RemoveHttpRule(ctx context.Context, albArn string, ruleCond alb.RuleCondition) error
- func SetupHttpRule(ctx context.Context, albArn, lambdaArn string, ruleCond alb.RuleCondition) error
- func UpdateAcmeCertificate(ctx context.Context, albArn, domain string, solver acmez.Solver) error
- type AccountKeyStore
- type Acme
- type FileAccountKeyStore
- type SSMAccountKeyStore
Constants ¶
View Source
const DefaultAcmeDirectory = "https://acme-v02.api.letsencrypt.org/directory"
const DefaultAcmeDirectory = "https://acme-staging-v02.api.letsencrypt.org/directory" // Staging endpoint
Variables ¶
View Source
var ErrNotFound = errors.New("account key not found")
Functions ¶
func GetExistingCertificate ¶
func LoadOrCreateAccountKey ¶
func LoadOrCreateAccountKey(ctx context.Context, keyStore AccountKeyStore) (*ecdsa.PrivateKey, error)
func RemoveHttpRule ¶
func SetupHttpRule ¶
Types ¶
type AccountKeyStore ¶
type Acme ¶
type FileAccountKeyStore ¶
type FileAccountKeyStore struct {
Path string
}
Click to show internal directories.
Click to hide internal directories.