diff --git a/examples/config-dev.yaml b/examples/config-dev.yaml index b40ea5827097660766f915a20b3be6062449fdcf..6cae823cfda63d26a90d7718410cf31f67a4c979 100644 --- a/examples/config-dev.yaml +++ b/examples/config-dev.yaml @@ -141,7 +141,7 @@ enablePasswordDB: true # If this option isn't chosen users may be added through the gRPC API. staticPasswords: - email: "admin@example.com" - # bcrypt hash of the string "password" + # bcrypt hash of the string "password": $(echo password | htpasswd -BinC 10 admin | cut -d: -f2) hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W" username: "admin" userID: "08a8684b-db88-4b73-90a9-3cd1661f5466" diff --git a/examples/k8s/dex.yaml b/examples/k8s/dex.yaml index 8201c79e52d32fb647206b8919f8679be9b605d0..fc5d84c7f4abe116e82a49d9187f0f5c2773bf46 100644 --- a/examples/k8s/dex.yaml +++ b/examples/k8s/dex.yaml @@ -103,7 +103,7 @@ data: enablePasswordDB: true staticPasswords: - email: "admin@example.com" - # bcrypt hash of the string "password" + # bcrypt hash of the string "password": $(echo password | htpasswd -BinC 10 admin | cut -d: -f2) hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W" username: "admin" userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"