Learn how to manage Vault with the Blnk CLI.
Vault allows developers to upload, validate and save identity documents in their ledger for easy reference. With vault, developers can:
To upload to Vault using the CLI, here’s the command syntax:
Fields | Description |
---|---|
<file-path> | This is the file location of the document you want to upload. You can upload .pdf, .docx, or .png files. |
<options> | A set of optional parameters that modify the behavior of the command. |
Options | Type | Description |
---|---|---|
-t or --type <type> | String | Specifies the type of document you are uploading. If no type is specified, it defaults to “passport”. |
-v or --use-vision <useVision> | Boolean | Enable (true) or disable (false) vision processing. Vision processing is disabled by default. |
-d or --duplicate-check <duplicateCheck> | Boolean | Check for duplicate files before uploading. It is enabled (true) by default. |
Here’s a sample command:
We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool.
To ask questions or discuss issues, please contact us or join our Discord community.