Skip to content

wildcardcorp/certmagic-s3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Certmagic-S3

Certmagic S3-compatible driver written in Go, using FastAPI Simple Mutex Server as the lock.

Test passed on:

  • Vultr Objects
  • DigitalOcean Spaces

Guide

Build

go get -u github.com/caddyserver/xcaddy/cmd/xcaddy

xcaddy build --output ./caddy --with github.com/daxxog/certmagic-s3

Build container

FROM caddy:builder AS builder
RUN caddy-builder github.com/daxxog/certmagic-s3

FROM caddy
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

Run

caddy run --config caddy.json

Config example

{
  "storage": {
    "module": "s3",
    "host": "Host",
    "bucket": "Bucket",
    "access_key": "AccessKey",
    "secret_key": "SecretKey",
    "prefix": "ssl",
    "fasms_endpoint": "https://my-fastapi-simple-mutex-server.example.com",
    "fasms_api_key": "APIKey"
  }
  "app": {
    ...
  }
}

About

Certmagic S3-compatible driver written in Go with simple mutex server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%