Command Line Interface

Base Syntax:

./off_chain_secure_storage <command> [arguments]

Available Commands:

Command

Arguments

Description

Example

store

<device_id> <json_data>

Store JSON with device ID

store FARM001 '{"temp":25}'

retrieve

<hash>

Retrieve data by hash

retrieve 'a1b2c3d4e5f6...'

hash

<json_data>

Generate hash only

hash '{"sensor":"data"}'

attest

None

Get TA attestation

attest

public-key

None

Get public key

public-key