feat: Add 2martens realm

This commit is contained in:
2025-01-28 10:42:59 +01:00
parent 7f87831117
commit 2a20d3d505
2 changed files with 23 additions and 1 deletions
+22
View File
@@ -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
}
}
}