Skip to content

Register a EuroDaT Client

You need to register a EuroDaT Client before it is able to connect to your EuroDaT instance. If you are the administrator of a EuroDaT instance, you can use the script cluster/scripts/register_client.sh. The parameters --kubeconfig and --context are optional. If set, those values are passed to the kubectl tool. The tls.crt corresponding to the client secret is required, see our tutorial how to generate a client secret

    ./cluster/scripts/register_client.sh \
      --kubeconfig $PATH_TO_KUBECONFIG_FILE \
      --context $KUBECTL_CONTEXT \
      --tls-cert-path $PATH_TO_CLIENT_TLS_CRT\
      --client-id $CLIENT_ID\
      --client-selector $CLIENT_SELECTOR\

Registration Sequence at EuroDaT

sequenceDiagram
    participant CB as Client Backend
    participant EC as EuroDaT Controller
    participant KC as Keycloak
    CB->>EC: Call registration endpoint<br>with client name and certificate
    alt New client
        EC->>KC: Create client with certificate
    else Client exists
        EC->>KC: Throw error
    end