eclipse-tractusx / sig-release

https://eclipse-tractusx.github.io/sig-release
Apache License 2.0
9 stars 10 forks source link

BDRS security improvement #959

Open ybidois opened 1 month ago

ybidois commented 1 month ago

Overview

Explain the topic in 2 sentences

Transition from API Key to Technical User Authentication for BDRS Integration

What's the benefit?

To make it consistent as we have been calling the other services from portal backend and its more secure.

What are the Risks/Dependencies ?

Change from BDRS side would also required.

Detailed explanation

We need to update the authentication mechanism for our portal's integration with the BDRS. The current implementation uses an API Key, but it is needed to switch to a new authentication method using a technical user with client ID and secret. The endpoints the portal is hitting remain unchanged, however, the error handling got improved to support the new errors provided with the technical user authentication method.

Current implementation

Currently we have been calling BDRS by APIKey

Proposed improvements

Feature Team

Contributor

@tfjanjua

Committer

User Stories

Acceptance Criteria

Test Cases

Functionality and Test Cases should work as they are working right now, this change will only transform the way of calling BDRS service.

Expected Result

Architectural Relevance

The following items are ensured (answer: yes) after this issue is implemented:

Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)

Additional information

evegufy commented 2 weeks ago

Hi @ybidois I created a bdrs label and added it to the issue. Please also create an issue for the BDRS for this topic https://github.com/eclipse-tractusx/bpn-did-resolution-service/issues. The change on portal side can't be merged without an according change on BDRS side.

stephanbcbauer commented 2 weeks ago

Some hints from Release Management (@ther3sa) and Tractus-X Project Lead (@stephanbcbauer)

evegufy commented 1 week ago

Portal Committers: @oyo @ntruchsess @Phil91 @evegufy

Only viable if also a BDRS Committer is added

stephanbcbauer commented 1 week ago

@ybidois mentioned ⇾ already implemented on Cofinity-X side ⇾ want to bring it back to Tractus-X