Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


General information

Communication between service modules (e.g. Tax Data Hub, Tax Transfer Hub) and business modules (e.g. Tax Balance, Income Taxes) within the GTC Suite must be secured. Since the service modules do not manage authorisation contexts, this must be regulated by the respective business module. To ensure that only known business modules can call the endpoints of the service modules, the service module provides an API key that the business modules must send with requests. 

Creating the API key in the service module

The user can create the API key in two ways, whereby automatic generation is preferred. Nevertheless, for IT security reasons, the API key should be renewed regularly.

To set up the generated API key in the business module, please read the corresponding user guide.

Automatic generation of an API key

If the server starts up and no API key has been created yet, the API key is automatically generated in the form of a 32-digit alphanumeric string. This can then be taken from the log.

The generation takes place once and is also only written once in the log. The API key should be temporarily noted and the log should be deleted.

Manual generation of an API key

The API key is given as a Tomcat start parameter. The start parameter is

-Dtaxtransferhub.apiKey={KEY} 

The key must be 32 digits long and contain alphanumeric values, otherwise it will not be recognised as valid and will not be permitted. If the validation of the key fails, this is displayed in the log.
It should be ensured that the key was generated randomly.

  • No labels