diff --git a/core/identity-hub-credentials/src/main/java/org/eclipse/edc/identityhub/core/LocalPublicKeySupplier.java b/core/identity-hub-credentials/src/main/java/org/eclipse/edc/identityhub/core/LocalPublicKeySupplier.java index a535bdb70..fadd49dea 100644 --- a/core/identity-hub-credentials/src/main/java/org/eclipse/edc/identityhub/core/LocalPublicKeySupplier.java +++ b/core/identity-hub-credentials/src/main/java/org/eclipse/edc/identityhub/core/LocalPublicKeySupplier.java @@ -31,6 +31,12 @@ import static org.eclipse.edc.identityhub.core.CoreServicesExtension.PUBLIC_KEY_VAULT_ALIAS_PROPERTY; +/** + * Provides a public key, that is resolved from the vault, a file (using the path) or a raw string, in that sequence. + * Typically, we use this when we have a public key configured for the STS service, so we can verify access tokens created by it. + *
+ * It is NOT intended for general use when resolving arbitrary public keys!
+ */
public class LocalPublicKeySupplier implements Supplier