Skip to content

SEAL Operator Server Configuration File


The configuration file for the SEAL Operator server contains the key value pairs corresponding to the system tables in the Consul key value store. The file is in YAML format.

Hint - changed URLs as of Keycloak 21.0.1

As of SEAL-specific Keycloak version 21.0.1, the URL needed for AUTH_ISSUER_URL and ID_PROVIDER_NAME has changed.

  • old value: https://<hostname>:32769/auth/realms/SEAL

  • new value: https:/<hostname>:32769/realms/SEAL

Hint - instructions

For detailed instructions how to export and import the SEAL Operator settings into a YAML file, refer to Administrate the System Configuration


Example - SEAL Operator server configuration file

# This is a sample configuration for SEAL Operator server.
# Uncomment and adapt the following lines and call
# "operator config import operator.yml --token <ACL Token> --insecure".
operator:
  connectors:
    scratch:
      serviceName: operator-fileupload
      url: 'https://localhost:3009'
      cstatus: on
    p4:
      serviceName: operator-p4
      url: 'https://localhost:3010'
      cstatus: on
    p5:
      serviceName: operator-p5
      url: 'https://localhost:3013'
      cstatus: off
    sap:
      serviceName: operator-sap
      url: 'https://localhost:3012'
      cstatus: off
    dpf:
      serviceName: operator-dpf
      url: 'https://localhost:3014'
      cstatus: off
    sharepoint:
      serviceName: operator-sharepoint
      url: 'https://localhost:3017'
      cstatus: off
    treeresolver:
      serviceName: operator-treeresolver
      url: 'https://localhost:3018'
      cstatus: off

env:
  service:
    any:
      tag:
        any:
          CONSUL_URL: https://localhost:8500
          CONSUL_TOKEN: INSECURE_ACL_MASTER_TOKEN
          ID_PROVIDER_NAME: https://localhost:32769/realms/SEAL
          JWT_USERNAME: preferred_username
          JWT_ROLES: roles
          LOG_LEVEL: debug
          AUTH_ISSUER_URL: https://localhost:32769/realms/SEAL
          ALLOWED_OIDC_CLIENTS: |
            {
              "seal-print-client": {
                "roles": {
                  "seal-print-client-user": {},
                  "techuser": {
                    "areas": {
                      "documents": {
                        "set-impersonate": {
                          "views": ["ALL"],
                          "permissions": ["impersonate"]
                        }
                      },
                      "lists": {
                        "set-impersonate": {
                          "views": ["ALL"],
                          "permissions": ["impersonate"]
                        }
                      },
                      "tasks": {
                        "set-impersonate": {
                          "views": ["ALL"],
                          "permissions": ["impersonate"]
                        }
                      },
                      "configuration": {
                        "set-impersonate": {
                          "views": ["ALL"],
                          "permissions": ["impersonate"]
                        }
                      },
                      "sessions": {
                        "set-impersonate": {
                          "views": ["ALL"],
                          "permissions": ["impersonate"]
                        }
                      },
                      "panels": {
                        "set-impersonate": {
                          "views": ["ALL"],
                          "permissions": ["impersonate"]
                        }
                      }
                    }
                  }
                }
              }
            }

    operator-fileupload:
      tag:
        any:
          MONGO_FILEUPLOAD_URL: mongodb://localhost:27017/operator-fileupload

    operator-p4:
      tag:
        any:
          PLOSSYS_URL: https://localhost:3011
          ACTION_EXECUTOR: P4

    operator-server:
      tag:
        any:
          MONGO_SERVER_URL: mongodb://localhost:27017/operator-server

    operator-ui:
      tag:
        any:
          AVAILABLE_LANGUAGES: en,de,fr
          API_BASE_URL: https://localhost:3008
          API_VERSION: v1
          AUTH_CLIENT_ID: seal-print-client
          AUTH_CLIENT_SECRET: 8dd6f84c-2e8b-4163-85db-b7914c14e8cb

Back to top