You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering a persistent issue trying to boot the IdentityHub Consumer Corp and IdentityHub Provider Corp runtimes in IntelliJ (WSL environment) for the MinimumViableDataspace project.
The runtime consistently fails with the error: SEVERE Error booting runtime: No setting found for key edc.iam.sts.privatekey.alias
What I've already checked/done:
SecretsExtension.java: The hardcoded publicKey and privateKey in SecretsExtension.java are correctly formatted (EC P-256 keys, including -----BEGIN/END EC PRIVATE KEY----- lines).
.env files: Both consumer_identityhub.env and provider_identityhub.env explicitly define edc.iam.sts.privatekey.alias=key-1.
filesystem-configuration extension:
I've added implementation(libs.edc.configuration.filesystem) to launchers/identity-hub/build.gradle.kts.
The corresponding entry in gradle/libs.versions.toml is edc-configuration-filesystem = { module = "org.eclipse.edc:edc-configuration-filesystem", version.ref = "edc" }.
The runtime log confirms DEBUG ConfigurationExtension Initialized: FS Configuration.
4. IntelliJ Run Configuration:
Main class is org.eclipse.edc.boot.system.runtime.BaseRuntime.
Working directory is correctly set to the project root.
Shorten command line is @argfile.
Crucially, the "VM options" field in my IntelliJ run configuration is currently empty.
My Question:
Given that the FS Configuration extension initializes, but edc.iam.sts.privatekey.alias is still not found by context.getConfig().getString(), is it strictly required to explicitly add -Dedc.fs.config=deployment/assets/env/consumer_identityhub.env to the "VM options" in the IntelliJ run configuration? Or could there be another reason why ConfigImpl is not retrieving this setting from the .env file?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm encountering a persistent issue trying to boot the IdentityHub Consumer Corp and IdentityHub Provider Corp runtimes in IntelliJ (WSL environment) for the MinimumViableDataspace project.
The runtime consistently fails with the error:
SEVERE Error booting runtime: No setting found for key edc.iam.sts.privatekey.alias
What I've already checked/done:
SecretsExtension.java: The hardcoded publicKey and privateKey in SecretsExtension.java are correctly formatted (EC P-256 keys, including -----BEGIN/END EC PRIVATE KEY----- lines).
.env files: Both consumer_identityhub.env and provider_identityhub.env explicitly define edc.iam.sts.privatekey.alias=key-1.
filesystem-configuration extension:
I've added implementation(libs.edc.configuration.filesystem) to launchers/identity-hub/build.gradle.kts.
The corresponding entry in gradle/libs.versions.toml is edc-configuration-filesystem = { module = "org.eclipse.edc:edc-configuration-filesystem", version.ref = "edc" }.
The runtime log confirms DEBUG ConfigurationExtension Initialized: FS Configuration.
4. IntelliJ Run Configuration:
Main class is org.eclipse.edc.boot.system.runtime.BaseRuntime.
Working directory is correctly set to the project root.
Shorten command line is @argfile.
Crucially, the "VM options" field in my IntelliJ run configuration is currently empty.
My Question:
Given that the FS Configuration extension initializes, but edc.iam.sts.privatekey.alias is still not found by context.getConfig().getString(), is it strictly required to explicitly add -Dedc.fs.config=deployment/assets/env/consumer_identityhub.env to the "VM options" in the IntelliJ run configuration? Or could there be another reason why ConfigImpl is not retrieving this setting from the .env file?
Any insights are highly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions