Onboarding & DIDs
This use case describes the steps, which are required to register a DID on the EBSI blockchain.
CLI
Key generation (type ECDSA Secp256k1, which is required for signing ETH transactions)
./ssikit.sh key gen -a Secp256k1
=> keyId: 7db4b285984640d485842c0b1ccdcf92Generation of the DID document
./ssikit.sh did create -m ebsi -k 7db4b285984640d485842c0b1ccdcf92
=> DID: did:ebsi:241ou8rtrYnBokFALv3PGFeTRYQuLdyZnpFk3wFFhhiDKdLgEBSI/ESSIF Onboarding flow.
As prerequisite, the bearer token (validity of 15 min) from https://app-pilot.ebsi.eu/users-onboarding/v2 must be placed in file
data/ebsi/bearer-token.txt
./ssikit.sh essif onboard --did did:ebsi:241ou8rtrYnBokFALv3PGFeTRYQuLdyZnpFk3wFFhhiDKdLgAfter successfully completing the onboarding process, the Verifiable Authorization (validity of 6 months) from the Ebsi Onboarding Service is placed in data/ebsi/verifiable-authorization.json
EBSI/ESSIF Auth API flow
./ssikit.sh essif auth-api --did did:ebsi:241ou8rtrYnBokFALv3PGFeTRYQuLdyZnpFk3wFFhhiDKdLgAfter successfully completing the Auth API flow, the decrypted EBSI Access Token (validity of 15min) can be accessed in file: /home/pp/dev/walt/data/ebsi/ebsi_access_token.json
EBSI/ESSIF DID registration
./ssikit.sh essif did register --did did:ebsi:241ou8rtrYnBokFALv3PGFeTRYQuLdyZnpFk3wFFhhiDKdLgDID Resolution (only to check if the DID was correctly anchored with the EBSI blockchain)
The resulting DID document from the EBSI blockchain:
REST API
First pull the latest container
Starting the container as RESTful service
Key generation (type ECDSA Secp256k1, which is required for signing ETH transactions)
Generation of the DID document
EBSI/ESSIF Onboarding flow
EBSI/ESSIF Auth flow
EBSI/ESSIF DID registration
DID Resolution (only to check if the DID was correctly anchored with the EBSI blockchain)
Code example
The did:ebsi example shows how to register an EBSI DID in Java.
Last updated
Was this helpful?
