Skip to content

Commit

Permalink
REVIEW: Add example for user with initial password
Browse files Browse the repository at this point in the history
  • Loading branch information
Floby committed Jan 3, 2019
1 parent 8ec4e86 commit 701f60d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@ resource "keycloak_user" "another_user" {
last_name = "Tester"
}

resource "keycloak_user" "user_with_password" {
realm_id = "${keycloak_realm.test.id}"
username = "user-with-password"

email = "user-with-password@fakedomain.com"
first_name = "Testy"
last_name = "Tester"
initial_password = "my password"
}


resource "keycloak_group_memberships" "foo_members" {
realm_id = "${keycloak_realm.test.id}"
group_id = "${keycloak_group.foo.id}"
Expand Down

0 comments on commit 701f60d

Please sign in to comment.