-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#105 Refactor keycloak-client module
- Loading branch information
Showing
9 changed files
with
101 additions
and
120 deletions.
There are no files selected for viewing
106 changes: 35 additions & 71 deletions
106
terraform/examples/ces_keycloak_gke/.terraform.lock.hcl
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
output "external_cas_openid_client_id" { | ||
value = local.external_cas_openid_client_id | ||
} | ||
|
||
output "external_cas_openid_client_secret" { | ||
value = random_password.external_cas_openid_client_secret.result | ||
output "client_secret" { | ||
value = random_password.client_secret.result | ||
sensitive = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
ces_fqdn = "" | ||
keycloak_url = "<keycloak-url>/auth" | ||
realm_id = "Cloudogu" | ||
client_id = "" | ||
description = "" | ||
client_scopes = ["email", "groups", "profile"] | ||
login_theme = "cloudogu" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
variable "keycloak_realm_id" { | ||
variable "realm_id" { | ||
description = "Keycloak realm to be used for the External CAS OpenID client" | ||
default = "Cloudogu" | ||
type = string | ||
nullable = false | ||
} | ||
|
||
variable "ces_fqdn" { | ||
description = "FQDN or IP address of the CES" | ||
variable "client_id" { | ||
description = "ID of the created keycloak client" | ||
type = string | ||
nullable = false | ||
} | ||
|
||
variable "keycloak_client_scopes" { | ||
variable "description" { | ||
description = "Description for the created keycloak client" | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "client_scopes" { | ||
description = "OIDC scopes to add as default scopes in the keycloak client" | ||
type = list(string) | ||
default = ["acr", "email", "groups", "profile", "roles", "web-origins"] | ||
default = ["email", "groups", "profile"] | ||
} | ||
|
||
variable "login_theme" { | ||
description = "The client login theme. This will override the default theme for the realm." | ||
type = string | ||
} | ||
|
||
variable "ces_fqdn" { | ||
description = "FQDN or IP address of the CES" | ||
type = string | ||
nullable = false | ||
} |