Lab · Pico Identity Declaration
In this lab you will author full identity declarations for two Picos that will later form a relationship, and validate them with the pico CLI.
Setup
Create a scratch working directory and export the pico CLI per the Hello Pico one-time setup:
mkdir -p scratch/identityStep 3 — Validate both declarations
pico parse scratch/identity/pico-a.yaml --out /tmp/pico-a.json \
&& echo "OK: Pico A parses"
pico parse scratch/identity/pico-b.yaml --out /tmp/pico-b.json \
&& echo "OK: Pico B parses"Step 4 — Extend Pico A with a second relationship
Add a second relationship to pico-a.yaml representing a new relationship with Pico C, then re-run the parse:
pico parse scratch/identity/pico-a.yaml --out /tmp/pico-a.json \
&& echo "OK: Pico A with two relationships parses"What you will produce
Two valid YAML identity declarations plus a demonstration that a Pico can carry multiple did:peer relationships under a single did:webvh.
Next
Continue with the Summary.