Skip to content

Commit b9a22d6

Browse files
committed
Add .traefil.yml
1 parent 3833c23 commit b9a22d6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

traefik-authproxy/.traefik.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
displayName: Traefik Auth (M2M) Middleware
2+
type: middleware
3+
#iconPath: .assets/icon.png
4+
5+
import: github.com/Labs64/labs64.io-api-gateway/tree/master/traefik-authproxy
6+
7+
summary: >
8+
This repository contains a custom Traefik ForwardAuth middleware.
9+
The middleware is designed to verify M2M (Machine-to-Machine) JWT tokens issued by Keycloak and
10+
enforce path-based role-based access control (RBAC) for microservices deployed on Kubernetes.
11+
12+
testData:
13+
KEYCLOAK_DISCOVERY_URL: http://keycloak.tools.svc.cluster.local/realms/labs64io/.well-known/openid-configuration
14+
KEYCLOAK_URL: http://keycloak.tools.svc.cluster.local
15+
KEYCLOAK_REALM: labs64io
16+
KEYCLOAK_AUDIENCE: account
17+
ROLE_MAPPING_FILE: /opt/application-config/role_mapping.yaml
18+
LOG_LEVEL: DEBUG

0 commit comments

Comments
 (0)