mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 18:06:52 +02:00
feat: Add 2martens realm
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
resource "keycloak_realm" "2martens_realm" {
|
||||
realm = "2martens"
|
||||
enabled = true
|
||||
|
||||
display_name = "2martens Applications"
|
||||
display_name_html = "<div class=\"kc-logo-text\"><span>2martens</span></div>"
|
||||
|
||||
login_theme = "keycloak.v2"
|
||||
account_theme = "keycloak.v3"
|
||||
admin_theme = "keycloak.v2"
|
||||
email_theme = "keycloak"
|
||||
|
||||
# Security settings
|
||||
password_policy = "upperCase(1) and length(12) and forceExpiredPasswordChange(365) and notUsername"
|
||||
|
||||
# Brute force protection
|
||||
security_defenses {
|
||||
brute_force_detection {
|
||||
max_login_failures = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user