Skip to main content

Required Artifacts and Configuration

A use case writer supplements you with a number of artifacts, that need to be configured.

Warning: do not alter these artifacts after receiving them, as they supply the Nuts node with the trust anchors as defined by the use case. Changes might lead to unsafe configuration.

Artifacts

This following artifacts:section details how to configure each artifact.

  • Service Discovery Definition(s):Definitions

    these

    These JSON files instruct your Nuts node where to publish use case participation, and where to find other participants.

  • They need to be provided in the Nuts node's discovery definitions directory (discovery.definitions.directory). The file name may be changed; it does not influence the definition. It's recommended to mount the files/directory in read-only mode if Docker is used.

    Registration: after configuring the definitions, the Discovery Service for the applicable subjects through the Nuts node's VDR (v2) API, to make them discoverable.

    Policy Definition(s):Definitions

    these

    These JSON files instruct your Nuts node which credentials a participant needs to present (to your Nuts node) to requestacquire access.

  • an
  • access token with a certain scope. They need to be provided in the Nuts node's policy directory (policy.directory). The file name may be changed; it does not influence the definition. It's recommended to mount the files/directory in read-only mode if Docker is used.

    DID Document Service definition(Definitions

    These describe which endpoints to register in your DID document(s) to make them resovable for other participants. DID document services can't be preconfigured, but need to be registered on DID documents using the Nuts node's API. There is no pre-defined form, so they are typically described in text.

    E.g.:

The DID document of the eOverdracht Receiver needs to contain the eOverdracht-receiver service, that specifies the following

{
  "type": "eOverdracht-receiver",
   "serviceEnd
}