Manage Wallets

Manage Affinidi Wallets for signing credentials and request token.

Before using Affinidi CLI and access CLI topics, you need to login to the Affinidi using the command affinidi start and select a project to generate the required access token to perform tasks.

Command References

    affinidi wallet

Use these commands to manage your wallets

affinidi wallet create-wallet

Creates wallet in your active project

USAGE

affinidi wallet create-wallet [--json] [--no-color] [--no-input] [-n [value]] [-d [value]] [-u [value] -m key|web]

FLAGS

-d, --description=[value] Description of the wallet

-m, --did-method=[option] DID method [options: key|web]

-n, --name=[value] Name of the wallet

-u, --did-web-url=[value] URL of the DID if DID method is did:web

GLOBAL FLAGS

--json Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

affinidi wallet create-wallet
affinidi wallet create-wallet --name [value] --description [value]
affinidi wallet create-wallet --name [value] --description [value] --did-method key
affinidi wallet create-wallet --name [value] --description [value] --did-method web --did-web-url [value]

affinidi wallet delete-wallet

Deletes wallet from your active project

USAGE

affinidi wallet delete-wallet [--json] [--no-color] [--no-input] [-i [value]]

FLAGS

-i, --id=[value] ID of the wallet

GLOBAL FLAGS

--json Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

affinidi wallet delete-wallet -i [value]
affinidi wallet delete-wallet --id [value]

affinidi wallet get-wallet

Gets wallet details in your active project

USAGE

affinidi wallet get-wallet [--json] [--no-color] [--no-input] [-i [value]]

FLAGS

-i, --id=[value] ID of the wallet

GLOBAL FLAGS

--json Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

affinidi wallet get-wallet -i [value]
affinidi wallet get-wallet --id [value]

affinidi wallet list-wallets

Lists wallets in your active project

USAGE

affinidi wallet list-wallets [--json] [--no-color] [--no-input]

GLOBAL FLAGS

--json Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

affinidi wallet list-wallets

affinidi wallet update-wallet

Updates wallet in your active project

USAGE

affinidi wallet update-wallet [--json] [--no-color] [--no-input] [-i [value]] [-n [value]] [-d [value]]

FLAGS

-d, --description=[value] Description of the wallet

-i, --id=[value] ID of the wallet

-n, --name=[value] Name of the wallet

GLOBAL FLAGS

--json Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

affinidi wallet update-wallet -i [value]
affinidi wallet update-wallet --id [value] --name [value] --description [value]