LogoLogo
ProductsCommunityGitHubShare Feedback
SSI Kit
SSI Kit
  • General
    • Introduction
    • Transition To The Community Stack
    • SSI Kit | Basics
      • Overview
      • Functionality
      • Components
    • SSI Kit
      • SSI Flavors & Ecosystems
        • Trust Registries
        • Keys
        • Decentralized Identifiers (DIDs)
        • Verifiable Credentials (VCs)
        • Data Exchange Protocols
      • Architecture
        • Low-Level Service Abstraction
        • Ecosystem Abstraction
        • High-Level Interfaces / APIs
      • Use Cases
      • Self-Sovereign Identity (SSI)
        • SSI | Basics
        • Technologies & Concepts
          • Registries
          • Decentralised Identifiers (DIDs)
          • Verifiable Credentials (VCs)
          • Verifiable Presentations (VPs)
          • Data Exchange (Protocols)
  • Getting started
    • Quick Start
    • REST API
      • Signatory API - For Issuers
      • Custodian API - For Holders
        • Key management
        • Did management
        • Credentials management
      • Auditor API - For Verifiers
      • Core API
        • Cryptographic keys
        • Decentralised-Identifiers
        • Verifiable-Credentials
      • API Serving Configs
    • Dependency (JVM)
      • Java Examples
      • Kotlin Examples
    • CLI | Command Line Interface
      • Key Management
      • Decentralized Identifiers
      • Verifiable Credentials
      • OpenID Connect (OIDC)
    • Building the Project
      • Docker Build
      • Local Build
    • Project Configurations
    • Demo
  • Ecosystems
    • EBSI
      • Basics
      • Use Cases & Flow Diagrams
      • Command line interface
        • DID Registration
      • REST API
      • Usage / examples
        • Onboarding & DIDs
        • Build end-to-end use cases
    • IOTA
      • OIDC4VP profile for Login-with-IOTA
      • Login With IOTA Demo
    • Velocity
      • Basics
        • Onboarding
        • Issuing
        • Inspection
      • Integration with SSIKit
      • Command line interface
        • Onboarding
        • Issuing
        • Inspection
    • cheqd
      • Integration architecture
      • Create DID
      • Issue VC
      • Verify VC
  • Tutorials
    • My First VC
    • Advanced VC
  • Concepts
    • Credential Templates
    • Verification Policies
      • Static Policies
      • Parameterized Policies
      • Dynamic/Custom Policies
        • Creating Dynamic Policies
        • Using Dynamic Policies
        • Removing Dynamic Policies
        • Dynamic Policies | Data Classes
    • Selective Disclosure
      • Intro
      • Issuing a SD-JWT Credential
      • Verifying a SD-JWT Credential
    • Credential Statuses
      • StatusList2021Entry
      • SimpleCredentialStatus2022
      • Issue credentials with credentialStatus
      • REST API
        • Check the status of a credential
        • Revoke a credential
      • CLI
        • Check the status of a credential
        • Revoke a credential
    • DID Web
    • Open Policy Agent (OPA)
      • Setup
    • OpenID Connect (OIDC)
      • Credential Issuance
        • OIDC4CI | Example
      • Presentation Exchange
        • OIDC4VP | Example
    • Delegation and Mandates
  • Community
    • Discord
    • Twitter
    • Newsletter
    • GitHub Discussions
  • DEVELOPER RELATIONS
    • Contribute
    • Roadmap
    • Share Feedback
    • Contact
  • Product Editions
    • Open Source | Always Free
    • Enterprise | Self-Managed
    • Cloud Platform | Managed
Powered by GitBook
On this page
  • Create DID
  • Resolve DID
  • List DIDs
  • Import DID
  • Delete DID

Was this helpful?

Export as PDF
  1. Getting started
  2. CLI | Command Line Interface

Decentralized Identifiers

PreviousKey ManagementNextVerifiable Credentials

Last updated 1 month ago

Was this helpful?

DID related operations, like registering, updating and deactivating DIDs. For more info on DIDs, go .

Commands:

  • - using create command.

  • - using resolve command.

  • - using list command.

  • to custodian store - using import command.

  • from custodian - using delete command.

All commands have the help option available:

  • <your-command> -h

  • <your-command> --help

E.g. did create -h

Create DID

Creates a DID document using did create [options] command based on the corresponding SSI ecosystem (DID method). Optionally the associated asymmetric key is also created.

Options

  • -m, --did-method [key | web | ebsi | iota | jwk | cheqd] - Specify DID method [key], Supported DID methods are: "key", "web", "ebsi", "iota", "jwk"

  • -k, --key TEXT - Specific key (ID or alias)

  • -d, --domain TEXT - Domain for did:web

  • -p, --path TEXT - Path for did:web

  • -v, --version INT - Version of did:ebsi. Allowed values: 1 (default), 2

  • -n, --network [testnet | mainnet] - cheqd network, default is testnet

The returned value represents the DID document.

E.g. did create -m ebsi -k 8a2c3628acdd45999b4c0b5a69911437

IOTA support

For creating IOTA DIDs and registering them on the IOTA tangle, a wrapper library needs to be installed and available in the local library path.

The wrapper library is included in the SSIKit Docker image, such that for Docker users no additional setup is required.

CLI users can find instructions for build and SSIKit integration at:

Resolve DID

Resolves the DID document.

Options:

-d, --did TEXT DID to be resolved

-r, --raw / -t, --typed

-w, --write

List DIDs

List all created DIDs using did list command

Import DID

Import DID to custodian store using did import [options] command

Options

  • -k, --key-id TEXT - Specify key ID for imported did, if left empty, only public key will be imported

  • -f, --file TEXT - Load the DID document from the given file

  • -d, --did TEXT - Try to resolve DID document for the given DID

Delete DID

Use the delete command to delete a DID:

  • did delete <your did>

E.g. did delete -d "did:ebsi:zs79GYJvzEnQYxkAAj4UX1j"

-j, --useJwkJcsPub - specifies whether to create a did:key using the jwk_jcs-pub multicodec (code: )

0xeb51
https://github.com/walt-id/waltid-iota-identity-wrapper
here
Create DID
Resolve DID
List DIDs
Import DID
Delete DID
Create did help command output
List dids command output