Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (22 loc) · 1023 Bytes

deactivate.md

File metadata and controls

26 lines (22 loc) · 1023 Bytes

Deactivate

This command used for Deactivating DID.

Usage

deactivate-did [flags]

Flags

  • domain [string] - URL to the TrustBloc consortium's domain.
  • sidetree-url [array|string] - Array of one or more Sidetree URLs.
  • sidetree-write-token [string] - The Sidetree write token.
  • tls-cacerts [array|string] - Array of one or more CA cert paths.
  • tls-systemcertpool [boolean] - Flag whether to use system certificate pool.
  • did-uri [string] - DID URI.
  • signingkey [string] - The private key PEM used for signing deactivate of the document.
  • signingkey-file [string] - The file that contains the private key PEM used for signing deactivate of the document.
  • signingkey-password [string] - The Signing key PEM password.

Example

deactivate cmd

deactivate-did --domain testnet.trustbloc.local --did-uri did:trustbloc:3XvwJ:EiDnJwbKHkHdaco4khFeBzvSL1hZ4eBGQq3q1Yjrpi5d4g  
--signingkey-file ./keys/recover2/key_encrypted.pem --signingkey-password 123