Elffuss BraidHub

kikocis/EDC public

Changeset: f380ffad1e02
f380ffad1e02 build(deps): bump io.cloudevents:cloudevents-http-basic from 3.0.0 to 4.0.0 (#4317) dependabot[bot],
..
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.