bouncer/internal/bench/testdata/proxies/basic-auth.yml
William Petit f35384c0f3
Some checks reported warnings
Cadoles/bouncer/pipeline/head This commit was not built
feat: create profiling package + rewrite profiling tutorial
2024-06-28 17:44:51 +02:00

21 lines
448 B
YAML

proxy:
from: ["*"]
to: ""
layers:
basic-auth:
type: authn-basic
enabled: true
options:
users:
- username: foo
passwordHash: "$2y$10$ShTc856wMB8PCxyr46qJRO8z06MpV4UejAVRDJ/bixhu0XTGn7Giy"
attributes:
email: foo@bar.com
rules:
- set_header("Remote-User-Attr-Email", user.attrs.email)
fetch:
url:
user:
username: foo
password: bar