Skip to content

Storage Gateway

Storage Gateway lets you:

  • Connect your storage to one or more MASV Portals and have files automatically delivered to it.
  • Use the MASV Web App with Team members to access specific file locations on connected storage without requiring direct or remote access.

For an end-to-end walkthrough, see How to integrate storage devices with MASV.

Storage Gateway requires MASV Agent to be installed on the server that provides storage. Choose one of the following installation methods:


Terminal window
masv gateway add \
--id "<your-key>" \
--secret '<your-secret>' \
--name "<your-connection-name>" \
--root-path "<your-shared-folder>" \
--permissions "<your-permissions>" \
--uid <your-uid> \
--gid <your-gid>
NameTypeRequiredDescription
idStringYesID of the existing Storage Device Integration.
nameStringYesConnection name — use something descriptive and easy to recognize.
permissionsStringYesFile permissions for this connection. Valid values: r, w.
root-pathStringYesThis folder and everything within it becomes remotely accessible. Must be an absolute path.
secretStringYesUnique secret key required to register this connection with the MASV API.
gidIntegerNoCustom group ID override. Used to assign ownership of downloaded files on Linux. Not supported on Windows or read-only connections.
uidIntegerNoCustom user ID override. Used to assign ownership of downloaded files on Linux. Not supported on Windows or read-only connections.

Terminal window
masv gateway ls

Terminal window
masv gateway rm CONNECTION_ID

Terminal window
masv gateway update id \
--root-path "<new-root-path>" \
--uid <new-uid> \
--gid <new-gid>
NameTypeRequiredDescription
idStringYesID of the existing Storage Device Integration.
root-pathStringNoNew root folder. Must be an absolute path.
gidIntegerNoCustom group ID override. Provide -1 to remove the override.
uidIntegerNoCustom user ID override. Provide -1 to remove the override.

  • Authentication — Authenticate with API keys or credentials.
  • Uploads — Send files via Team email, shareable Link, or Portal.
  • Downloads — Initiate, monitor, and manage file downloads.
  • Automations — Set up automated download and upload workflows.