Skip to main content
Version: Next

VCKit Adapter

VCKit is an open-source verifiable credential toolkit that provides credential signing, verification, DID management, and cryptographic key management. It is the default verifiable credential service bundled with the Reference Implementation.

About VCKit

VCKit is a standalone service that exposes a set of REST APIs for working with W3C Verifiable Credentials and Decentralised Identifiers. It requires its own PostgreSQL database for storing keys, DIDs, and credential metadata.

Supported Version

The supported version of VCKit is sha-325b7e3.

Multi-Tenancy

VCKit is a single-tenant system. The Reference Implementation adds a multi-tenancy isolation layer on top: each tenant's DIDs are registered in the Reference Implementation database, and the API enforces that tenants can only sign credentials using DIDs belonging to their own tenant.

Environment Variables

The following environment variables configure the connection between the Reference Implementation and a VCKit instance:

VariableDescriptionRequiredDefault
SYSTEM_VC_BASE_URLBase URL of the VCKit instanceYeshttp://localhost:3332
SYSTEM_VC_API_KEYAuthentication token for the VCKit APIYestest123
SYSTEM_VC_ADAPTER_TYPEMust be set to VCKITYesVCKIT
SYSTEM_VC_SERVICE_NAMEDisplay name for this service instanceNoSystem Default VC
SYSTEM_VC_SERVICE_DESCRIPTIONDescription for this service instanceNo
SYSTEM_VC_API_VERSIONAPI versionNo1.0.0

These variables are used during startup to seed the default verifiable credential service instance into the system tenant.

API Configuration Schema

When creating or updating a VCKit service instance via the Services API, the config object must conform to the following schema:

FieldTypeRequiredDefaultDescription
baseUrlstring (URL)YesBase URL of the VCKit instance (e.g., http://vckit-api:3332)
apiKeystringYesAuthentication token for the VCKit API. Sensitive — masked in API responses.
apiVersionstringYes1.0.0API version to use when communicating with VCKit

Example:

{
"baseUrl": "https://vckit.example.com",
"apiKey": "your-api-key",
"apiVersion": "1.0.0"
}