This is a Traefik plugin that lets you sign your requests sent to an aws-like API. The plugin can be used to serve static sites from an s3-compatible provider.
| Option | Required | Description |
|---|---|---|
| accessKey | X | aws Access Key |
| secretKey | X | aws Secret Key |
| sessionToken | aws Session Token | |
| service | X | aws Service |
| endpoint | X | aws Endpoint |
| region | X | aws Region |
Static config
# traefik.ymlexperimental:plugins:sigv4middleware:moduleName: "github.com/ygormartins/traefik-aws-sigv4-middleware-v1"# Populate this with the latest release tag.version: vX.Y.Z
Dynamic config
http:middlewares:sigv4:plugin:sigv4middleware:accessKey: ROOTNAMEsecretKey: CHANGEME123service: s3endpoint: minio.localhostregion: us-east-1routers:minio:rule: host(`minio.localhost`)service: minio@dockerentryPoints:- webmiddlewares:- sigv4