ugwis / lego-lambda

Validate with DNS01(Route 53) and generate certificates on lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lego-lambda

Validate with DNS01(Route 53) and generate certificates on lambda

Architcture

Simple Usage

  1. Fork this reposity
  2. Set GitHub Action secrets
  3. Rerun GitHub Action
  4. CloudFormation Stack generate certs and put on S3 regularly

GitHub Action Secrets

Name Note Required Default
AWS_ACCESS_KEY_ID AWS Access Key Yes
AWS_SECRET_ACCESS_KEY AWS Secret Key Yes
AWS_REGION AWS Region No
LAMBDA_BUCKET Bucket Name for CloudFormation Package No lego-lambda-${GITHUB_RUN_ID}
CFN_NAME CloudFormation Stack Name No LEGO-LAMBDA
ACME_DOMAIN Domain to the process Yes
ACME_EMAIL Let's Encrypt User Email Yes
S3_BUCKET S3 Bucket Name which it put generate certs on Yes
S3_PRIVKEY S3 Key Name which it put generate private key on No privkey.pem
S3_PUBKEY S3 Key Name which it put generate public key on No pubkey.crt
EVENT_SCHEDULE Schedule Expression for Rule. Please see it No rate (30 days)

About

Validate with DNS01(Route 53) and generate certificates on lambda


Languages

Language:Go 84.3%Language:Shell 15.7%