Accredit TAOs and TIs
Now you are almost ready to start issuing Verifiable Credentials. Just a few more steps to go!
Verifiable Credential and Presentation
Check out our VC and VP library to create and verify EBSI-compliant W3C Verifiable Credentials and Verifiable Presentations in JWT format
Step 2.1 Authorise TAO to onboard by issuing a V. Authorisation to Onboard
This step applies to VCDM 1.1 only. With VCDM 2.0 a Root TAO only accredits: VerifiableAuthorisationToOnboard credentials are issued by the Support Office, a TAO or a TI, never by a Root TAO (see the VCDM 2.0 trust model). In that case, ask the Support Office, a TAO or a TI for the onboarding credential and continue with Step 2.2.
Step 2.1.1 Provide Authorisation Server to authenticate TAO
Now that you have set up your Root Trusted Accreditation Organisation, you can onboard Trusted Accreditation Organisations.
Your Root TAO needs to provide an OIDC Authorisation Server for TAO. Authentication can be performed by using a code flow or by pre-authorisation.
Step 2.1.2 Authentication code flow
For authentication and authorisation, the Root TAO needs to provide an Authorisation Server. The TAO can start authentication by calling the Authorisation Server's authorise endpoint with response_type code. In response, the Authorisation Server should proceed to authenticate the TAO/TI, for example by requesting an ID Token. After successful authentication, the Authorisation Server should respond with a code. Using this code, the TAO/TI can request an access token (by calling the Authorisation Server's token endpoint).
Step 2.1.3 Authentication with pre-authorization
In addition to the code flow above, authentication can also be done using a pre-authorised code. This code is delivered to the TAO via a Credential Offering or out of band method. Using this code, the TAO/TI can invoke the Authorisation Server's token endpoint directly to get an access token.
Step 2.1.4 Provide Credential Issuer service for issuing TAO Authorisation to Onboard
The Root TAO needs to provide a Credential Issuer service for a TAO. It should contain a credential endpoint which is protected by requiring an access token issued in the previous phase.
The TAO should use this endpoint to request a Verifiable Authorisation to Onboard credential. Using this credential the TAO can onboard to EBSI by inserting their DID document into EBSI DID Registry.
Step 2.2 Accredit the TAO or TI in the Issuers Registry
A TAO registers in the EBSI Issuers Registry with a VerifiableAccreditationToAccredit (it may then accredit other TAOs and TIs, and issue onboarding credentials). A TI registers with a VerifiableAccreditationToAttest (it may then issue domain-specific credentials). A VerifiableAccreditationToAttest is implicit for a TAO and does not have to be issued to it separately.
The same three-step pattern applies at every level: The Root TAO obtains an The Root TAO signs the accreditation credential with: The TAO or TI obtains an Step 2.2.1 Reserve
issuers-registry:write access token (it requires the shared self-attestation credential, and the Root TAO's DID must already have an accepted record) and calls setAttributeMetadata with the subject's DID, a salt, the issuer type (TAO or TI), its own DID and its own attribute id. The contract derives the subject's attributeId:Step 2.2.2 Issue
credentialSubject.reservedAttributeId set to the derived attributeId of the previous step (not the salt),permissionFor (VCDM 2.0) or accreditedFor (VCDM 1.1) listing what the subject may issue,termsOfUse pointing at the Root TAO's own attribute: IssuanceCertificate { id } in VCDM 1.1, AccreditationPolicy { parentAccreditation, rootAuthorisation } in VCDM 2.0 (both pointing at the Root TAO's attribute),credentialStatus of type EbsiAccreditationEntry.Step 2.2.3 Accept
issuers-registry:invite access token by presenting the accreditation, then calls setAttributeData with its DID, the attribute id and the credential JWT. See Accredit Issuers and Register in the Issuers Registry for the details of the invite step.