@@ -116,8 +116,13 @@ staticPasswords:
116116 # bcrypt hash of the string "password"
117117 hash: "$2a$10$33EMT0cVYVlPy6WAMCLsceLYjWhuHpbz5yuZxu/GAFj03J9Lytjuy"
118118 username: "admin"
119+ groups:
120+ - "administrators"
119121 userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
120122123+ groups:
124+ - "developers"
125+ - "testers"
121126 # base64'd value of the same bcrypt hash above. We want to be able to parse both of these
122127 hash: "JDJhJDEwJDMzRU1UMGNWWVZsUHk2V0FNQ0xzY2VMWWpXaHVIcGJ6NXl1Wnh1L0dBRmowM0o5THl0anV5"
123128 username: "foo"
@@ -134,7 +139,7 @@ logger:
134139 format: "json"
135140
136141additionalFeatures: [
137- "ConnectorsCRUD"
142+ "ConnectorsCRUD"
138143]
139144` )
140145
@@ -207,12 +212,14 @@ additionalFeatures: [
207212 StaticPasswords : []password {
208213 {
209214215+ Groups : []string {"administrators" },
210216 Hash : []byte ("$2a$10$33EMT0cVYVlPy6WAMCLsceLYjWhuHpbz5yuZxu/GAFj03J9Lytjuy" ),
211217 Username : "admin" ,
212218 UserID : "08a8684b-db88-4b73-90a9-3cd1661f5466" ,
213219 },
214220 {
215221222+ Groups : []string {"developers" , "testers" },
216223 Hash : []byte ("$2a$10$33EMT0cVYVlPy6WAMCLsceLYjWhuHpbz5yuZxu/GAFj03J9Lytjuy" ),
217224 Username : "foo" ,
218225 UserID : "41331323-6f44-45e6-b3b9-2c4b60c02be5" ,
@@ -331,11 +338,17 @@ connectors:
331338enablePasswordDB: true
332339staticPasswords:
333340341+ groups:
342+ - "administrators"
334343 # bcrypt hash of the string "password"
335344 hash: "$2a$10$33EMT0cVYVlPy6WAMCLsceLYjWhuHpbz5yuZxu/GAFj03J9Lytjuy"
336345 username: "admin"
337346 userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
338347348+ groups:
349+ - "developers"
350+ - "testers"
351+ # hash is read from environment variable DEX_FOO_USER_PASSWORD
339352 hashFromEnv: "DEX_FOO_USER_PASSWORD"
340353 username: "foo"
341354 userID: "41331323-6f44-45e6-b3b9-2c4b60c02be5"
@@ -421,12 +434,14 @@ logger:
421434 StaticPasswords : []password {
422435 {
423436437+ Groups : []string {"administrators" },
424438 Hash : []byte ("$2a$10$33EMT0cVYVlPy6WAMCLsceLYjWhuHpbz5yuZxu/GAFj03J9Lytjuy" ),
425439 Username : "admin" ,
426440 UserID : "08a8684b-db88-4b73-90a9-3cd1661f5466" ,
427441 },
428442 {
429443444+ Groups : []string {"developers" , "testers" },
430445 Hash : []byte ("$2a$10$33EMT0cVYVlPy6WAMCLsceLYjWhuHpbz5yuZxu/GAFj03J9Lytjuy" ),
431446 Username : "foo" ,
432447 UserID : "41331323-6f44-45e6-b3b9-2c4b60c02be5" ,
0 commit comments