I have a working Traefik v2 setup running on Docker that redirects web traffic to multiple internal containers and a couple of non-docker services. (I followed this excellent guide: https://www.smarthomebeginner.com/traefik-2-docker-tutorial/)
I would like to identify which headers I can use to bypass my MFA middleware when making S3 calls to a private cloud storage service (Minio in this case).
I've enabled debug but all the logs show me is a middleware redirect. Is there anyway to inspect the incoming HTTP calls please?
Failing that, does anyone know which headers to configure as a bypass when using AWS Access IDs with the S3 protocol please? I've tried the following with no luck unfortunately.
http:
routers:
minio-rtr-bypass:
rule: "Host(`s3.example.com`) && (HeadersRegexp(`AWSAccessKeyId`, `$AWS_ACCESS_KEY`))"
entryPoints:
- https
middlewares:
- chain-no-auth
service: minio-svc
priority: 100
minio-rtr:
rule: "Host(`s3.example.com`)"
entryPoints:
- https
middlewares:
- chain-authelia
service: minio-svc
priority: 99
services:
minio-svc:
loadBalancer:
servers:
- url: "http://192.168.1.10:9000"
Many thanks.