apiVersion: v1
kind: ConfigMap
metadata:
  name: k8sdc-keycloak
  #namespace: {{ .namespace }}
  namespace: k8sdc-system
  labels:
    app: k8sdc-keycloak
    heritage: k8sdc
data:
  k8sdc-realm.json: |
    {
      "id" : "k8sdc",
      "realm" : "k8sdc",
      "displayName" : "k8sdc",
      "notBefore" : 0,
      "revokeRefreshToken" : false,
      "accessTokenLifespan" : 300,
      "accessTokenLifespanForImplicitFlow" : 900,
      "ssoSessionIdleTimeout" : 1800,
      "ssoSessionMaxLifespan" : 36000,
      "offlineSessionIdleTimeout" : 2592000,
      "accessCodeLifespan" : 60,
      "accessCodeLifespanUserAction" : 300,
      "accessCodeLifespanLogin" : 1800,
      "enabled" : true,
      "sslRequired" : "external",
      "registrationAllowed" : false,
      "registrationEmailAsUsername" : false,
      "rememberMe" : false,
      "verifyEmail" : false,
      "resetPasswordAllowed" : false,
      "editUsernameAllowed" : false,
      "bruteForceProtected" : false,
      "maxFailureWaitSeconds" : 900,
      "minimumQuickLoginWaitSeconds" : 60,
      "waitIncrementSeconds" : 60,
      "quickLoginCheckMilliSeconds" : 1000,
      "maxDeltaTimeSeconds" : 43200,
      "failureFactor" : 30,
      "privateKey" : "MIIEowIBAAKCAQEAgo2B1CpgQENj2UKajGu7IVkyNeXdCJFF5d2D4Wnk5c0JQlOyzN/tk2eXW76UuwLb8ipzM54wRWwlXfGqEPriW1fTmDdwYrymUNyuviTY8pr7zTOlK1aENQpkEf1PUZN3m6DlE1m+v4rDEukz3r7Qyd/Lnv9lu8vu7x0tvFhr9F+avtKERVu61mpKCzfxjiKoMNmRKj+PvmTw3+WIOOZMaPt/n5GD3egv4MrGJq3dpUycVlKhaesblB4vkcnneX2/1R5kgdZmxa1n4clRzSH/TWUUVTAMFkkkvIThn/Fxz4EZ6K9EIhC2s1RFsApVadm+CaFvAc3jThbiDy7unNGFiwIDAQABAoIBAB6tcdyROJzhOQ1MgVSN3CMx+oJ/yTjCKlKhguPtJkR5sbtMP6+0zvbcWMzOM9T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fzVwz+2vBfwIeNj5A9LQkl6Wmc6kht/AHKwxT50A1Jj7AAdt+PsE9qZq5WZo5PRadvX7sfYCaz330CXff/H+MFgBVCaJyT4z3KqF+/jnE9+l3lYWBUZnTS2c3T+/tyi8f9J8DR/hMpCY3C6L/A7paHq6GwoE13Ba44eZB2ypJoNuMSdvAHxl14KeFL2dAJoRi+ZGJ2mjAYHYrBn7cLMMclHIEWFi0kRowB0cXh00BPydUyPTcgqV+lGcfyjgKo1Qsii3DFbdSDz8m70X89zg3sqF6iyGkguIKbiy8UNFwlDLqJQUOiny1zY7yF",
      "codeSecret" : "250f6ed5-b791-4c41-ab4a-6695c6a41e00",
      "roles" : {
        "realm" : [ {
          "id" : "202b575c-3f3a-4a05-b441-e49a37041b94",
          "name" : "offline_access",
          "description" : "${role_offline-access}",
          "scopeParamRequired" : true,
          "composite" : false
        } ],
        "client" : {
          "realm-management" : [ {
            "id" : "7a101219-df71-4f4c-86da-9a79f41ab8ab",
            "name" : "realm-admin",
            "description" : "${role_realm-admin}",
            "scopeParamRequired" : false,
            "composite" : true,
            "composites" : {
              "client" : {
                "realm-management" : [ "view-users", "manage-events", "manage-realm", "manage-users", "manage-identity-providers", "impersonation", "view-identity-providers", "view-events", "create-client", "view-clients", "view-realm", "manage-clients" ]
              }
            }
          }, {
            "id" : "7c0f3a3d-b85e-4691-82be-f0cb66e82b52",
            "name" : "view-users",
            "description" : "${role_view-users}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "472785ae-bf4f-4a32-8790-6ed722c281c0",
            "name" : "manage-events",
            "description" : "${role_manage-events}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "dd4c2794-9b57-4916-9a2e-3ee45907f062",
            "name" : "manage-realm",
            "description" : "${role_manage-realm}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "0870e127-39d4-4d49-b910-9d71c55762c9",
            "name" : "manage-users",
            "description" : "${role_manage-users}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "5100add8-0f5d-487e-a35b-913f05bba1e1",
            "name" : "manage-identity-providers",
            "description" : "${role_manage-identity-providers}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "5b4ec458-4c69-4137-afa8-a2a6f346edef",
            "name" : "impersonation",
            "description" : "${role_impersonation}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "c7792502-74fa-469f-a6f2-e9792fdf6994",
            "name" : "view-events",
            "description" : "${role_view-events}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "99e3e9ef-dee9-4378-826b-32b40653b85d",
            "name" : "create-client",
            "description" : "${role_create-client}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "ff7c3202-8200-460d-892a-c69d53af5f47",
            "name" : "view-realm",
            "description" : "${role_view-realm}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "8808ec01-736d-42eb-805b-22828ddedee7",
            "name" : "view-identity-providers",
            "description" : "${role_view-identity-providers}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "e25073ae-cee3-445a-8cd7-4adb82e2017c",
            "name" : "view-clients",
            "description" : "${role_view-clients}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "a5ae7986-2275-429a-ab4c-e36d73dba583",
            "name" : "manage-clients",
            "description" : "${role_manage-clients}",
            "scopeParamRequired" : false,
            "composite" : false
          } ],
          "security-admin-console" : [ ],
          "admin-cli" : [ ],
          "broker" : [ {
            "id" : "bf350d60-4baa-412d-8cd5-b2701ccf524a",
            "name" : "read-token",
            "description" : "${role_read-token}",
            "scopeParamRequired" : false,
            "composite" : false
          } ],
          "account" : [ {
            "id" : "d3ccd270-c2e4-4111-b20e-c2668244dfa8",
            "name" : "manage-account",
            "description" : "${role_manage-account}",
            "scopeParamRequired" : false,
            "composite" : false
          }, {
            "id" : "00a13f2b-175f-4494-9518-dc9ae714ed7b",
            "name" : "view-profile",
            "description" : "${role_view-profile}",
            "scopeParamRequired" : false,
            "composite" : false
          } ]
        }
      },
      "groups" : [ ],
      "defaultRoles" : [ "offline_access" ],
      "requiredCredentials" : [ "password" ],
      "otpPolicyType" : "totp",
      "otpPolicyAlgorithm" : "HmacSHA1",
      "otpPolicyInitialCounter" : 0,
      "otpPolicyDigits" : 6,
      "otpPolicyLookAheadWindow" : 1,
      "otpPolicyPeriod" : 30,
      "clientScopeMappings" : {
        "realm-management" : [ {
          "client" : "admin-cli",
          "roles" : [ "realm-admin" ]
        }, {
          "client" : "security-admin-console",
          "roles" : [ "realm-admin" ]
        } ]
      },
      "clients" : [ {
        "id" : "6df28825-ce0b-4f51-ac5e-86392ee544b2",
        "clientId" : "account",
        "name" : "${client_account}",
        "baseUrl" : "/auth/realms/k8sdc/account",
        "surrogateAuthRequired" : false,
        "enabled" : true,
        "clientAuthenticatorType" : "client-secret",
        "secret" : "13c56370-4cca-4f69-ac1b-cce792dd1608",
        "defaultRoles" : [ "view-profile", "manage-account" ],
        "redirectUris" : [ "/auth/realms/k8sdc/account/*" ],
        "webOrigins" : [ ],
        "notBefore" : 0,
        "bearerOnly" : false,
        "consentRequired" : false,
        "standardFlowEnabled" : true,
        "implicitFlowEnabled" : false,
        "directAccessGrantsEnabled" : false,
        "serviceAccountsEnabled" : false,
        "publicClient" : false,
        "frontchannelLogout" : false,
        "attributes" : { },
        "fullScopeAllowed" : false,
        "nodeReRegistrationTimeout" : 0,
        "protocolMappers" : [ {
          "id" : "9bd950d6-271d-4ce0-9049-8cf63505ed2a",
          "name" : "email",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${email}",
          "config" : {
            "user.attribute" : "email",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "email",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "57d9f5b1-d040-4e2b-bf8c-0ebcae0852a8",
          "name" : "family name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${familyName}",
          "config" : {
            "user.attribute" : "lastName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "family_name",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "97adc38e-393f-449e-9c44-897dddf770b1",
          "name" : "full name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-full-name-mapper",
          "consentRequired" : true,
          "consentText" : "${fullName}",
          "config" : {
            "id.token.claim" : "true",
            "access.token.claim" : "true"
          }
        }, {
          "id" : "7d130e02-8df2-4c43-9cee-ce0538da8228",
          "name" : "role list",
          "protocol" : "saml",
          "protocolMapper" : "saml-role-list-mapper",
          "consentRequired" : false,
          "config" : {
            "single" : "false",
            "attribute.nameformat" : "Basic",
            "attribute.name" : "Role"
          }
        }, {
          "id" : "d48998ce-e463-4fd5-bc78-3ae77d2409b6",
          "name" : "given name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${givenName}",
          "config" : {
            "user.attribute" : "firstName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "given_name",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "e506dd4c-b82d-4c96-bdd1-b53461aa7645",
          "name" : "username",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${username}",
          "config" : {
            "user.attribute" : "username",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "preferred_username",
            "jsonType.label" : "String"
          }
        } ],
        "useTemplateConfig" : false,
        "useTemplateScope" : false,
        "useTemplateMappers" : false
      }, {
        "id" : "39d0dee5-8538-443f-b5e1-2522b47de4f0",
        "clientId" : "admin-cli",
        "name" : "${client_admin-cli}",
        "surrogateAuthRequired" : false,
        "enabled" : true,
        "clientAuthenticatorType" : "client-secret",
        "secret" : "c9a6617d-8d8a-44a1-b66b-8af273c10369",
        "redirectUris" : [ ],
        "webOrigins" : [ ],
        "notBefore" : 0,
        "bearerOnly" : false,
        "consentRequired" : false,
        "standardFlowEnabled" : false,
        "implicitFlowEnabled" : false,
        "directAccessGrantsEnabled" : true,
        "serviceAccountsEnabled" : false,
        "publicClient" : true,
        "frontchannelLogout" : false,
        "attributes" : { },
        "fullScopeAllowed" : false,
        "nodeReRegistrationTimeout" : 0,
        "protocolMappers" : [ {
          "id" : "af9abb33-f84b-43ea-b573-fa9a1843067a",
          "name" : "role list",
          "protocol" : "saml",
          "protocolMapper" : "saml-role-list-mapper",
          "consentRequired" : false,
          "config" : {
            "single" : "false",
            "attribute.nameformat" : "Basic",
            "attribute.name" : "Role"
          }
        }, {
          "id" : "936ee926-842e-4485-973e-194645f10a67",
          "name" : "email",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${email}",
          "config" : {
            "user.attribute" : "email",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "email",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "0bafd4a1-9b0d-4468-bda9-107cd04f25bb",
          "name" : "full name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-full-name-mapper",
          "consentRequired" : true,
          "consentText" : "${fullName}",
          "config" : {
            "id.token.claim" : "true",
            "access.token.claim" : "true"
          }
        }, {
          "id" : "b198eeb8-21b8-42ba-9de3-468de2d07b88",
          "name" : "family name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${familyName}",
          "config" : {
            "user.attribute" : "lastName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "family_name",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "681cf61c-f512-4900-92d2-38425ae18ce7",
          "name" : "username",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${username}",
          "config" : {
            "user.attribute" : "username",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "preferred_username",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "b646cd27-0003-444f-b1e4-9144c8eb388a",
          "name" : "given name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${givenName}",
          "config" : {
            "user.attribute" : "firstName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "given_name",
            "jsonType.label" : "String"
          }
        } ],
        "useTemplateConfig" : false,
        "useTemplateScope" : false,
        "useTemplateMappers" : false
      }, {
        "id" : "0cb82c0f-d74c-4d2c-bb57-9c51d49194ea",
        "clientId" : "broker",
        "name" : "${client_broker}",
        "surrogateAuthRequired" : false,
        "enabled" : true,
        "clientAuthenticatorType" : "client-secret",
        "secret" : "b2d311a0-85cc-4842-9c26-2536e69a4a6a",
        "redirectUris" : [ ],
        "webOrigins" : [ ],
        "notBefore" : 0,
        "bearerOnly" : false,
        "consentRequired" : false,
        "standardFlowEnabled" : true,
        "implicitFlowEnabled" : false,
        "directAccessGrantsEnabled" : false,
        "serviceAccountsEnabled" : false,
        "publicClient" : false,
        "frontchannelLogout" : false,
        "attributes" : { },
        "fullScopeAllowed" : false,
        "nodeReRegistrationTimeout" : 0,
        "protocolMappers" : [ {
          "id" : "e3570bec-65e5-475b-9766-9e71d9434900",
          "name" : "email",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${email}",
          "config" : {
            "user.attribute" : "email",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "email",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "370d93a5-7627-4735-8557-0dbd1790c926",
          "name" : "full name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-full-name-mapper",
          "consentRequired" : true,
          "consentText" : "${fullName}",
          "config" : {
            "id.token.claim" : "true",
            "access.token.claim" : "true"
          }
        }, {
          "id" : "16ba5055-3be4-409f-a5a1-11dda76eeb0d",
          "name" : "username",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${username}",
          "config" : {
            "user.attribute" : "username",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "preferred_username",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "71f957f5-defe-45c5-b732-43ecd3b81ceb",
          "name" : "given name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${givenName}",
          "config" : {
            "user.attribute" : "firstName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "given_name",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "856c5a61-e557-4404-9a87-1110251ed915",
          "name" : "family name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${familyName}",
          "config" : {
            "user.attribute" : "lastName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "family_name",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "8f6322b0-8a85-4df9-a779-a3a8a95a00a6",
          "name" : "role list",
          "protocol" : "saml",
          "protocolMapper" : "saml-role-list-mapper",
          "consentRequired" : false,
          "config" : {
            "single" : "false",
            "attribute.nameformat" : "Basic",
            "attribute.name" : "Role"
          }
        } ],
        "useTemplateConfig" : false,
        "useTemplateScope" : false,
        "useTemplateMappers" : false
      }, {
        "id" : "da10e640-153e-43ad-8853-d7c54292b773",
        "clientId" : "realm-management",
        "name" : "${client_realm-management}",
        "surrogateAuthRequired" : false,
        "enabled" : true,
        "clientAuthenticatorType" : "client-secret",
        "secret" : "6c75324c-6796-4602-822e-1b87d640d347",
        "redirectUris" : [ ],
        "webOrigins" : [ ],
        "notBefore" : 0,
        "bearerOnly" : true,
        "consentRequired" : false,
        "standardFlowEnabled" : true,
        "implicitFlowEnabled" : false,
        "directAccessGrantsEnabled" : false,
        "serviceAccountsEnabled" : false,
        "publicClient" : false,
        "frontchannelLogout" : false,
        "attributes" : { },
        "fullScopeAllowed" : false,
        "nodeReRegistrationTimeout" : 0,
        "protocolMappers" : [ {
          "id" : "b592078a-d808-4aa2-bb04-44b12c8e5a85",
          "name" : "given name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${givenName}",
          "config" : {
            "user.attribute" : "firstName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "given_name",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "6efe1e1c-a033-40e6-9fe0-d3553cc24fa3",
          "name" : "family name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${familyName}",
          "config" : {
            "user.attribute" : "lastName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "family_name",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "b656695a-478c-4691-bf70-95ad0ef6b62c",
          "name" : "username",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${username}",
          "config" : {
            "user.attribute" : "username",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "preferred_username",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "a49e7a2c-ea06-4eb8-912d-f47296b4c7b0",
          "name" : "full name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-full-name-mapper",
          "consentRequired" : true,
          "consentText" : "${fullName}",
          "config" : {
            "id.token.claim" : "true",
            "access.token.claim" : "true"
          }
        }, {
          "id" : "3fed97f7-fa66-4f0d-a171-a4fa0a373bf2",
          "name" : "role list",
          "protocol" : "saml",
          "protocolMapper" : "saml-role-list-mapper",
          "consentRequired" : false,
          "config" : {
            "single" : "false",
            "attribute.nameformat" : "Basic",
            "attribute.name" : "Role"
          }
        }, {
          "id" : "b967e44c-b19e-439f-89ba-bf3b57848cd1",
          "name" : "email",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${email}",
          "config" : {
            "user.attribute" : "email",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "email",
            "jsonType.label" : "String"
          }
        } ],
        "useTemplateConfig" : false,
        "useTemplateScope" : false,
        "useTemplateMappers" : false
      }, {
        "id" : "c415c264-c448-4f63-b582-f3ff278329af",
        "clientId" : "security-admin-console",
        "name" : "${client_security-admin-console}",
        "baseUrl" : "/auth/admin/k8sdc/console/index.html",
        "surrogateAuthRequired" : false,
        "enabled" : true,
        "clientAuthenticatorType" : "client-secret",
        "secret" : "b6845bd1-fef4-41f2-9a7f-e68e0afc445c",
        "redirectUris" : [ "/auth/admin/k8sdc/console/*" ],
        "webOrigins" : [ ],
        "notBefore" : 0,
        "bearerOnly" : false,
        "consentRequired" : false,
        "standardFlowEnabled" : true,
        "implicitFlowEnabled" : false,
        "directAccessGrantsEnabled" : false,
        "serviceAccountsEnabled" : false,
        "publicClient" : true,
        "frontchannelLogout" : false,
        "attributes" : { },
        "fullScopeAllowed" : false,
        "nodeReRegistrationTimeout" : 0,
        "protocolMappers" : [ {
          "id" : "0d2a4381-f0e9-409b-af6e-a7ecc47fba7a",
          "name" : "username",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${username}",
          "config" : {
            "user.attribute" : "username",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "preferred_username",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "54389c0a-b0ef-419a-b5f6-1a5d6e68b59d",
          "name" : "role list",
          "protocol" : "saml",
          "protocolMapper" : "saml-role-list-mapper",
          "consentRequired" : false,
          "config" : {
            "single" : "false",
            "attribute.nameformat" : "Basic",
            "attribute.name" : "Role"
          }
        }, {
          "id" : "de34e343-e7a9-43ee-83e2-dd8cadcadd34",
          "name" : "locale",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-attribute-mapper",
          "consentRequired" : false,
          "consentText" : "${locale}",
          "config" : {
            "user.attribute" : "locale",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "locale",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "31a5d4ef-8cd1-46f1-8453-9e2102af63a7",
          "name" : "given name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${givenName}",
          "config" : {
            "user.attribute" : "firstName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "given_name",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "a8aa0c4f-feec-421f-88bf-65c99952eb34",
          "name" : "full name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-full-name-mapper",
          "consentRequired" : true,
          "consentText" : "${fullName}",
          "config" : {
            "id.token.claim" : "true",
            "access.token.claim" : "true"
          }
        }, {
          "id" : "12975b01-ac51-4e7c-9b48-5f0ad9df675b",
          "name" : "email",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${email}",
          "config" : {
            "user.attribute" : "email",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "email",
            "jsonType.label" : "String"
          }
        }, {
          "id" : "98442f7e-bada-4455-a127-74b129af630d",
          "name" : "family name",
          "protocol" : "openid-connect",
          "protocolMapper" : "oidc-usermodel-property-mapper",
          "consentRequired" : true,
          "consentText" : "${familyName}",
          "config" : {
            "user.attribute" : "lastName",
            "id.token.claim" : "true",
            "access.token.claim" : "true",
            "claim.name" : "family_name",
            "jsonType.label" : "String"
          }
        } ],
        "useTemplateConfig" : false,
        "useTemplateScope" : false,
        "useTemplateMappers" : false
      } ],
      "clientTemplates" : [ ],
      "browserSecurityHeaders" : {
        "xContentTypeOptions" : "nosniff",
        "xFrameOptions" : "SAMEORIGIN",
        "contentSecurityPolicy" : "frame-src 'self'"
      },
      "smtpServer" : { },
      "userFederationProviders" : [ {
        "id" : "775f095b-799c-4868-8ff4-34976d6f0222",
        "displayName" : "k8sdc",
        "providerName" : "ldap",
        "config" : {
          "debug" : "false",
          "pagination" : "true",
          "searchScope" : "1",
          "useTruststoreSpi" : "ldapsOnly",
          "connectionPooling" : "true",
          "usersDn" : "ou=People,dc=k8sdc,dc=io",
          "userAccountControlsAfterPasswordUpdate" : "true",
          "useKerberosForPasswordAuthentication" : "false",
          "userObjectClasses" : "inetOrgPerson, organizationalPerson",
          "bindCredential" : "password",
          "bindDn" : "uid=k8sdcadmin,ou=Administrators,dc=k8sdc,dc=io",
          "usernameLDAPAttribute" : "uid",
          "rdnLDAPAttribute" : "uid",
          "vendor" : "other",
          "editMode" : "WRITABLE",
          "uuidLDAPAttribute" : "entryUUID",
          "allowKerberosAuthentication" : "false",
          "connectionUrl" : "ldap://k8sdc-opendj",
          "syncRegistrations" : "true",
          "authType" : "simple",
          "batchSizeForSync" : "1000"
        },
        "priority" : 0,
        "fullSyncPeriod" : 0,
        "changedSyncPeriod" : 0,
        "lastSync" : 0
      } ],
      "userFederationMappers" : [ {
        "id" : "16e1c23d-7990-4e2a-8edc-694bdd17df10",
        "name" : "first name",
        "federationProviderDisplayName" : "k8sdc",
        "federationMapperType" : "user-attribute-ldap-mapper",
        "config" : {
          "always.read.value.from.ldap" : "true",
          "read.only" : "false",
          "ldap.attribute" : "cn",
          "is.mandatory.in.ldap" : "true",
          "user.model.attribute" : "firstName"
        }
      }, {
        "id" : "3bf3f6bd-6469-461f-a695-6eda501c8611",
        "name" : "username",
        "federationProviderDisplayName" : "k8sdc",
        "federationMapperType" : "user-attribute-ldap-mapper",
        "config" : {
          "always.read.value.from.ldap" : "false",
          "read.only" : "false",
          "ldap.attribute" : "uid",
          "is.mandatory.in.ldap" : "true",
          "user.model.attribute" : "username"
        }
      }, {
        "id" : "2cf73110-4e19-46c7-af71-8f1eccb5314f",
        "name" : "modify date",
        "federationProviderDisplayName" : "k8sdc",
        "federationMapperType" : "user-attribute-ldap-mapper",
        "config" : {
          "always.read.value.from.ldap" : "true",
          "read.only" : "true",
          "ldap.attribute" : "modifyTimestamp",
          "is.mandatory.in.ldap" : "false",
          "user.model.attribute" : "modifyTimestamp"
        }
      }, {
        "id" : "16a1c11f-6c01-43a0-9e0e-bbe169dbf85b",
        "name" : "last name",
        "federationProviderDisplayName" : "k8sdc",
        "federationMapperType" : "user-attribute-ldap-mapper",
        "config" : {
          "always.read.value.from.ldap" : "true",
          "read.only" : "false",
          "ldap.attribute" : "sn",
          "is.mandatory.in.ldap" : "true",
          "user.model.attribute" : "lastName"
        }
      }, {
        "id" : "65e467ee-c6c1-4899-a081-554194a08e98",
        "name" : "creation date",
        "federationProviderDisplayName" : "k8sdc",
        "federationMapperType" : "user-attribute-ldap-mapper",
        "config" : {
          "always.read.value.from.ldap" : "true",
          "read.only" : "true",
          "ldap.attribute" : "createTimestamp",
          "is.mandatory.in.ldap" : "false",
          "user.model.attribute" : "createTimestamp"
        }
      }, {
        "id" : "e07695fd-becd-4bd6-8e95-b69f9297a8d4",
        "name" : "email",
        "federationProviderDisplayName" : "k8sdc",
        "federationMapperType" : "user-attribute-ldap-mapper",
        "config" : {
          "always.read.value.from.ldap" : "false",
          "read.only" : "false",
          "ldap.attribute" : "mail",
          "is.mandatory.in.ldap" : "false",
          "user.model.attribute" : "email"
        }
      } ],
      "eventsEnabled" : false,
      "eventsListeners" : [ "jboss-logging" ],
      "enabledEventTypes" : [ ],
      "adminEventsEnabled" : false,
      "adminEventsDetailsEnabled" : false,
      "internationalizationEnabled" : false,
      "supportedLocales" : [ ],
      "authenticationFlows" : [ {
        "id" : "6034e8ef-91dc-420f-a7a2-db27a7f09db6",
        "alias" : "Handle Existing Account",
        "description" : "Handle what to do if there is existing account with same email/username like authenticated identity provider",
        "providerId" : "basic-flow",
        "topLevel" : false,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "idp-confirm-link",
          "requirement" : "REQUIRED",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "idp-email-verification",
          "requirement" : "ALTERNATIVE",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "requirement" : "ALTERNATIVE",
          "priority" : 30,
          "flowAlias" : "Verify Existing Account by Re-authentication",
          "userSetupAllowed" : false,
          "autheticatorFlow" : true
        } ]
      }, {
        "id" : "73aa5f22-16f4-4907-b157-ef0eb4d2fa1b",
        "alias" : "Verify Existing Account by Re-authentication",
        "description" : "Reauthentication of existing account",
        "providerId" : "basic-flow",
        "topLevel" : false,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "idp-username-password-form",
          "requirement" : "REQUIRED",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "auth-otp-form",
          "requirement" : "OPTIONAL",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        } ]
      }, {
        "id" : "ead1ca68-d3e6-4d6e-ae5e-17ab02d35825",
        "alias" : "browser",
        "description" : "browser based authentication",
        "providerId" : "basic-flow",
        "topLevel" : true,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "auth-cookie",
          "requirement" : "ALTERNATIVE",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "auth-spnego",
          "requirement" : "DISABLED",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "requirement" : "ALTERNATIVE",
          "priority" : 30,
          "flowAlias" : "forms",
          "userSetupAllowed" : false,
          "autheticatorFlow" : true
        } ]
      }, {
        "id" : "62e537b7-b1c0-43fa-83f2-1d2d40c6ffdb",
        "alias" : "clients",
        "description" : "Base authentication for clients",
        "providerId" : "client-flow",
        "topLevel" : true,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "client-secret",
          "requirement" : "ALTERNATIVE",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "client-jwt",
          "requirement" : "ALTERNATIVE",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        } ]
      }, {
        "id" : "4ee6cc82-7a1b-4569-ab27-2625a212d14b",
        "alias" : "direct grant",
        "description" : "OpenID Connect Resource Owner Grant",
        "providerId" : "basic-flow",
        "topLevel" : true,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "direct-grant-validate-username",
          "requirement" : "REQUIRED",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "direct-grant-validate-password",
          "requirement" : "REQUIRED",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "direct-grant-validate-otp",
          "requirement" : "OPTIONAL",
          "priority" : 30,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        } ]
      }, {
        "id" : "060658cf-d880-46ed-837a-09c2fe2c9116",
        "alias" : "first broker login",
        "description" : "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account",
        "providerId" : "basic-flow",
        "topLevel" : true,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticatorConfig" : "review profile config",
          "authenticator" : "idp-review-profile",
          "requirement" : "REQUIRED",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticatorConfig" : "create unique user config",
          "authenticator" : "idp-create-user-if-unique",
          "requirement" : "ALTERNATIVE",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "requirement" : "ALTERNATIVE",
          "priority" : 30,
          "flowAlias" : "Handle Existing Account",
          "userSetupAllowed" : false,
          "autheticatorFlow" : true
        } ]
      }, {
        "id" : "0a7f011c-e2b7-4cd1-8a36-24ce9c7d489b",
        "alias" : "forms",
        "description" : "Username, password, otp and other auth forms.",
        "providerId" : "basic-flow",
        "topLevel" : false,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "auth-username-password-form",
          "requirement" : "REQUIRED",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "auth-otp-form",
          "requirement" : "OPTIONAL",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        } ]
      }, {
        "id" : "470c6fb9-75c3-4416-b5b2-1a7ac96ca05f",
        "alias" : "registration",
        "description" : "registration flow",
        "providerId" : "basic-flow",
        "topLevel" : true,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "registration-page-form",
          "requirement" : "REQUIRED",
          "priority" : 10,
          "flowAlias" : "registration form",
          "userSetupAllowed" : false,
          "autheticatorFlow" : true
        } ]
      }, {
        "id" : "2e0cd931-fd3b-4933-a68f-72d0647f40c4",
        "alias" : "registration form",
        "description" : "registration form",
        "providerId" : "form-flow",
        "topLevel" : false,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "registration-user-creation",
          "requirement" : "REQUIRED",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "registration-profile-action",
          "requirement" : "REQUIRED",
          "priority" : 40,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "registration-password-action",
          "requirement" : "REQUIRED",
          "priority" : 50,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "registration-recaptcha-action",
          "requirement" : "DISABLED",
          "priority" : 60,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        } ]
      }, {
        "id" : "ec803b41-987b-47a8-96cf-ccd2ef361bc5",
        "alias" : "reset credentials",
        "description" : "Reset credentials for a user if they forgot their password or something",
        "providerId" : "basic-flow",
        "topLevel" : true,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "reset-credentials-choose-user",
          "requirement" : "REQUIRED",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "reset-credential-email",
          "requirement" : "REQUIRED",
          "priority" : 20,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "reset-password",
          "requirement" : "REQUIRED",
          "priority" : 30,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        }, {
          "authenticator" : "reset-otp",
          "requirement" : "OPTIONAL",
          "priority" : 40,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        } ]
      }, {
        "id" : "5b014613-a230-4253-807b-c6d4bcd801e5",
        "alias" : "saml ecp",
        "description" : "SAML ECP Profile Authentication Flow",
        "providerId" : "basic-flow",
        "topLevel" : true,
        "builtIn" : true,
        "authenticationExecutions" : [ {
          "authenticator" : "http-basic-authenticator",
          "requirement" : "REQUIRED",
          "priority" : 10,
          "userSetupAllowed" : false,
          "autheticatorFlow" : false
        } ]
      } ],
      "authenticatorConfig" : [ {
        "id" : "66c55e57-42b4-4ed1-bd24-a1dee063ea8e",
        "alias" : "create unique user config",
        "config" : {
          "require.password.update.after.registration" : "false"
        }
      }, {
        "id" : "2b86a499-f1e2-45aa-991f-0d7c902d69e9",
        "alias" : "review profile config",
        "config" : {
          "update.profile.on.first.login" : "missing"
        }
      } ],
      "requiredActions" : [ {
        "alias" : "CONFIGURE_TOTP",
        "name" : "Configure Totp",
        "providerId" : "CONFIGURE_TOTP",
        "enabled" : true,
        "defaultAction" : false,
        "config" : { }
      }, {
        "alias" : "UPDATE_PASSWORD",
        "name" : "Update Password",
        "providerId" : "UPDATE_PASSWORD",
        "enabled" : true,
        "defaultAction" : false,
        "config" : { }
      }, {
        "alias" : "UPDATE_PROFILE",
        "name" : "Update Profile",
        "providerId" : "UPDATE_PROFILE",
        "enabled" : true,
        "defaultAction" : false,
        "config" : { }
      }, {
        "alias" : "VERIFY_EMAIL",
        "name" : "Verify Email",
        "providerId" : "VERIFY_EMAIL",
        "enabled" : true,
        "defaultAction" : false,
        "config" : { }
      }, {
        "alias" : "terms_and_conditions",
        "name" : "Terms and Conditions",
        "providerId" : "terms_and_conditions",
        "enabled" : false,
        "defaultAction" : false,
        "config" : { }
      } ],
      "browserFlow" : "browser",
      "registrationFlow" : "registration",
      "directGrantFlow" : "direct grant",
      "resetCredentialsFlow" : "reset credentials",
      "clientAuthenticationFlow" : "clients",
      "keycloakVersion" : "1.9.3.Final"
    }