eclipse-edc / IdentityHub

IdentityHub
Apache License 2.0
21 stars 25 forks source link

Activate ParticipantContext in an explicit step #455

Closed paullatzelsperger closed 2 months ago

paullatzelsperger commented 2 months ago

Feature Request

When the ParticipantContext is created, and its active flag is set, it must still be created int he inactive state, to avoid the DID publication.

Then, after all the keys are added (and possibly activated), the ParticipantContext is activated in an explicit step by the ParticipantContextCoordinator

Which Areas Would Be Affected?

ParticipantContextCoordinator

Why Is the Feature Desired?

if the ParticipantContext is created in the active state, adding (and activating) keypairs will lead to another DID publication, and then, later, the ParticipantContextCoordinator would publish yet again. Creating the ParticipantContext in the inactive state will avoid the first publication.

Solution Proposal