All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.KeycloakConfigSecretDependentResource.microcksRealm.json Maven / Gradle / Ivy

The newest version!
{
  "id": "microcks",
  "realm": "microcks",
  "displayName": "Microcks",
  "notBefore": 0,
  "revokeRefreshToken": false,
  "refreshTokenMaxReuse": 0,
  "accessTokenLifespan": 300,
  "accessTokenLifespanForImplicitFlow": 900,
  "ssoSessionIdleTimeout": 1800,
  "ssoSessionMaxLifespan": 36000,
  "offlineSessionIdleTimeout": 2592000,
  "accessCodeLifespan": 60,
  "accessCodeLifespanUserAction": 300,
  "accessCodeLifespanLogin": 1800,
  "actionTokenGeneratedByAdminLifespan": 43200,
  "actionTokenGeneratedByUserLifespan": 300,
  "enabled": true,
  "sslRequired": "external",
  "registrationAllowed": false,
  "registrationEmailAsUsername": false,
  "rememberMe": false,
  "verifyEmail": false,
  "loginWithEmailAllowed": true,
  "duplicateEmailsAllowed": false,
  "resetPasswordAllowed": false,
  "editUsernameAllowed": false,
  "bruteForceProtected": false,
  "permanentLockout": false,
  "maxFailureWaitSeconds": 900,
  "minimumQuickLoginWaitSeconds": 60,
  "waitIncrementSeconds": 60,
  "quickLoginCheckMilliSeconds": 1000,
  "maxDeltaTimeSeconds": 43200,
  "failureFactor": 30,
  "users" : [
    {
      "username" : "user",
      "enabled": true,
      "credentials" : [
        { "type" : "password",
          "value" : "microcks123" }
      ],
      "realmRoles": [],
      "applicationRoles": {
        "microcks-app": [ "user" ]
      }
    },
    {
      "username" : "manager",
      "enabled": true,
      "credentials" : [
        { "type" : "password",
          "value" : "microcks123" }
      ],
      "realmRoles": [],
      "applicationRoles": {
        "microcks-app": [ "user", "manager" ]
      }
    },
    {
      "username" : "admin",
      "enabled": true,
      "credentials" : [
        { "type" : "password",
          "value" : "microcks123" }
      ],
      "realmRoles": [],
      "applicationRoles": {
        "realm-management": [ "manage-users", "manage-clients" ],
        "account": [ "manage-account" ],
        "microcks-app": [ "user", "manager", "admin" ]
      }
    }
{#if spec.keycloak.operatorServiceAccountEnabled}
    , {
      "username": "service-account-microcks-operator-serviceaccount",
      "emailVerified": false,
      "enabled": true,
      "totp": false,
      "serviceAccountClientId": "microcks-operator-serviceaccount",
      "disableableCredentialTypes": [],
      "requiredActions": [],
      "realmRoles": [
        "default-roles-microcks"
      ],
      "clientRoles": {
        "microcks-app": [
          "manager",
          "admin"
        ]
      },
      "notBefore": 0,
      "groups": []
    }
{/if}
  ],
  "roles": {
    "realm": [],
    "client": {
      "microcks-app": [
        {
          "name": "user",
          "composite": false,
          "clientRole": true,
          "containerId": "microcks"
        },
        {
          "name": "admin",
          "composite": false,
          "clientRole": true,
          "containerId": "microcks"
        },
        {
          "name": "manager",
          "composite": false,
          "clientRole": true,
          "containerId": "microcks"
        }
      ]
    }
  },
  "groups": [
    {
      "name": "microcks",
      "path": "/microcks",
      "attributes": {},
      "realmRoles": [],
      "clientRoles": {},
      "subGroups": [
        {
          "name": "manager",
          "path": "/microcks/manager",
          "attributes": {},
          "realmRoles": [],
          "clientRoles": {},
          "subGroups": []
        }
      ]
    }
  ],
  "defaultRoles": [ ],
  "requiredCredentials": [ "password" ],
  "scopeMappings": [],
  "clientScopeMappings": {
    "microcks-app": [
      {
        "client": "microcks-app-js",
        "roles": [
          "manager",
          "admin",
          "user"
        ]
      }
    ],
    "realm-management": [
      {
        "client": "microcks-app-js",
        "roles": [
          "manage-users",
          "manage-clients"
        ]
      }
    ]
  },
  "clients": [
    {
      "clientId": "microcks-app-js",
      "enabled": true,
      "publicClient": true,
      "redirectUris": [
        "https://{spec.microcks.url}/*"
      ],
      "webOrigins": [
        "+"
      ],
      "fullScopeAllowed": false,
      "protocolMappers": [
        {
          "name": "microcks-group-mapper",
          "protocol": "openid-connect",
          "protocolMapper": "oidc-group-membership-mapper",
          "consentRequired": false,
          "config": {
            "full.path": "true",
            "id.token.claim": "true",
            "access.token.claim": "true",
            "claim.name": "microcks-groups",
            "userinfo.token.claim": "true"
          }
        }
      ]
    }
  ],
  "applications": [
    {
      "name": "microcks-app",
      "enabled": true,
      "bearerOnly": true,
      "defaultRoles": [
        "user"
      ]
    },
    {
      "name": "{spec.keycloak.serviceAccount}",
      "secret": "{spec.keycloak.serviceAccountCredentials}",
      "enabled": true,
      "bearerOnly": false,
      "publicClient": false,
      "standardFlowEnabled": false,
      "directAccessGrantsEnabled": true,
      "serviceAccountsEnabled": true,
      "clientAuthenticatorType": "client-secret"
    }
{#if spec.keycloak.operatorServiceAccountEnabled}
    , {
      "name": "microcks-operator-serviceaccount",
      "secret": "{operatorServiceAccountCredentials}",
      "enabled": true,
      "bearerOnly": false,
      "publicClient": false,
      "standardFlowEnabled": false,
      "directAccessGrantsEnabled": true,
      "serviceAccountsEnabled": true,
      "clientAuthenticatorType": "client-secret"
    }
{/if}
  ],
  "identityProviders": [
  ],
  "requiredActions": [
    {
      "alias": "VERIFY_PROFILE",
      "name": "Verify Profile",
      "providerId": "VERIFY_PROFILE",
      "enabled": false,
      "defaultAction": false,
      "priority": 90,
      "config": {}
    }
  ],
  "keycloakVersion": "10.0.1"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy