Elffuss BraidHub

kikocis/EDC public

Changeset: cc2a9ff178c4
cc2a9ff178c4 fix: return StsClient from create() (#4479) Paul Latzelsperger,
..
src/
README.md1.1 KiB
build.gradle.kts572 B

README.md

Token Based Authentication Service

The token based authentication service extension is used to secure connector APIs. These APIs are not protected by the AuthenticationService by default. To find out how a specific API is protected please consult its documentation.

APIs, protected by this extension, require a client to authenticate by adding a authentication key to the request header.

Authentication Header Example:

curl <url> --header "X-API-Key: <key>"

Configuration

KeyDescriptionRequired
edc.api.auth.keyAPI Key Header Valuefalse
edc.api.auth.key.aliasSecret name of the API Key Header Value, stored in the vaultfalse
  • If the API key is stored in the Vault and in the configuration, the extension will take the key from the vault.

  • If no API key is defined, a random value is generated and printed out into the logs.