mirror of
https://github.com/int128/kubelogin.git
synced 2026-05-21 15:22:48 +00:00
24 lines
595 B
YAML
24 lines
595 B
YAML
issuer: https://dex-server:10443/dex
|
|
web:
|
|
https: 0.0.0.0:10443
|
|
tlsCert: /server.crt
|
|
tlsKey: /server.key
|
|
storage:
|
|
type: sqlite3
|
|
config:
|
|
file: /tmp/dex.db
|
|
staticClients:
|
|
- id: YOUR_CLIENT_ID
|
|
redirectURIs:
|
|
- http://localhost:8000
|
|
name: kubelogin
|
|
secret: YOUR_CLIENT_SECRET
|
|
staticPasswords:
|
|
- email: "admin@example.com"
|
|
# bcrypt hash of the string "password"
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: "admin"
|
|
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
|
|
# required for staticPasswords
|
|
enablePasswordDB: true
|