A command-line interface for Godiddy.
docker compose pull
docker compose run --rm godiddy-cli
# Set either "godiddy" or "godiddy-dev" API endpoint
docker compose run --rm godiddy-cli config endpoint godiddy-dev
# Set your API key
docker compose run --rm godiddy-cli config apikey b082c420-df67-4b06-899c-b7c51d75fba0
# Simple resolution
docker compose run --rm godiddy-cli resolve did:ebsi:z24ipYA2KhjNLmuD52evuCh2
# Simple create
docker compose run --rm godiddy-cli create -m key
# Create with an option
docker compose run --rm godiddy-cli create -m key -o keyType=P-256
# Create with client-managed secret mode
docker compose run --rm godiddy-cli create -m key -c
# Create with client-managed secret mode and interactive
docker compose run --rm godiddy-cli create -m key -c -i
By default, internal secret mode is used, i.e. the Godiddy wallet service.
# Show controllers in the wallet service
docker compose run --rm godiddy-cli wallet controllers
# Show keys in the wallet service
docker compose run --rm godiddy-cli wallet keys
If the -c
option is given in various commands, client-managed secret mode is used. The -c
option is equivalent to -o clientSecretMode=true
.
# Show the contents of the local wallet
docker compose run --rm godiddy-cli localwallet show
If the -i
option is given in various commands, responses from the API (especially "action" states in client-managed secret mode) have
to be processed "manually" using additional commands.
# Process current local state
docker compose run --rm godiddy-cli state process
# Continue with ongoing job (interactive)
docker compose run --rm godiddy-cli continue -i
Also see https://docs.godiddy.com/advanced/universal-registrar-execute/ebsi-execute.
docker compose run --rm godiddy-cli execute -d did:ebsi:zjUnExsyyweQ9p4cy3nvrVc --op issueOnboardingVC
docker compose run --rm godiddy-cli create -m ebsi -n pilot -c -s VerifiableAuthorisationToOnboard=
docker compose run --rm godiddy-cli execute -d did:ebsi:zjUnExsyyweQ9p4cy3nvrVc --op inviteForTrustRole --opdata trustModelDid=did:ebsi:zaFsXXoQ4ZrmiEsrtGyMvwJ --opdata trustModelRole=TI
docker compose run --rm godiddy-cli execute -d did:ebsi:zaFsXXoQ4ZrmiEsrtGyMvwJ --op acceptTrustRole -c -s VerifiableAccreditationToAttest=
mvn -s settings.xml clean package
Get command line
java -jar target/cli-*-jar-with-dependencies.jar -h