ark::local_storage::LocalStorageConfig

Defined in header “ark/local_storage/local_storage.hh”.


Configuration related to local storage. Local storage is a place for you to store key/value pairs on the robot in a sanitized fashion.

Variables

  • std::filesystem::path base_path
    Base path for the local storage files to be written to. All files are written to this path.

  • uint64_t max_value_size_b
    Maximum size of the values that can be written out, in bytes.

  • std::string ns
    Namespace for the keys. These are written to the disk to separate keys coming from different sources. Do not trust external users with this field.

  • std::string hmac_signature_key
    The HMAC key that can be used for signing and verifying data authenticity. Can be empty if you don’t plan to do HMAC-based verification.

  • std::string rsa_signature_public_key
    The RSA public key that can be used for verifying data (not signing). Can be empty if you don’t plan to do public key-based verification.