mrparkers / terraform-provider-keycloak

Terraform provider for Keycloak
https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs
MIT License
634 stars 313 forks source link

ACR to LoA Mapping #775

Closed lmller closed 1 year ago

lmller commented 1 year ago

With Keycloak 18 we now got the option to define ACR to LoA mappings in the realm (in the "Login" tab)

Bildschirm­foto 2022-11-25 um 16 30 46

Is this functionality already implemented in the terraform provider? (I couldn't find it)

lmller commented 1 year ago

In case somebody stumbles upon this: it's possible via the attributes of the keycloak_realm resource:

resource "keycloak_realm" "my_realm" {
  ... 
  attributes = {
    "acr.loa.map": "{\"low\":\"1\",\"high\":\"2\"}"
  }
}