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:
--secret '<your-secret>' \
--name "<your-connection-name>" \
--root-path "<your-shared-folder>" \
--permissions "<your-permissions>" \
| Name | Type | Required | Description |
|---|
id | String | Yes | ID of the existing Storage Device Integration. |
name | String | Yes | Connection name — use something descriptive and easy to recognize. |
permissions | String | Yes | File permissions for this connection. Valid values: r, w. |
root-path | String | Yes | This folder and everything within it becomes remotely accessible. Must be an absolute path. |
secret | String | Yes | Unique secret key required to register this connection with the MASV API. |
gid | Integer | No | Custom group ID override. Used to assign ownership of downloaded files on Linux. Not supported on Windows or read-only connections. |
uid | Integer | No | Custom user ID override. Used to assign ownership of downloaded files on Linux. Not supported on Windows or read-only connections. |
curl -X POST -H "Content-Type: application/json" \
http://localhost:8080/api/v1/storage_gateway/register -d '{
"secret": "<your-secret>",
"name": "<your-connection-name>",
"root_path": "<your-shared-folder>",
"permissions": "<your-permissions>",
| Name | Type | Required | Description |
|---|
id | String | Yes | ID of the existing Storage Device Integration. |
name | String | Yes | Connection name — use something descriptive and easy to recognize. |
permissions | String | Yes | File permissions for this connection. Valid values: r, w. |
root_path | String | Yes | This folder and everything within it becomes remotely accessible. Must be an absolute path. |
secret | String | Yes | Unique secret key required to register this connection with the MASV API. |
group_id | Integer | No | Custom group ID override. Used to assign ownership of downloaded files on Linux. Not supported on Windows or read-only connections. |
user_id | Integer | No | Custom user ID override. Used to assign ownership of downloaded files on Linux. Not supported on Windows or read-only connections. |
curl -X GET http://localhost:8080/api/v1/storage_gateway/list
masv gateway rm CONNECTION_ID
curl -X POST -H "Content-Type: application/json" \
http://localhost:8080/api/v1/storage_gateway/unregister -d '{
--root-path "<new-root-path>" \
| Name | Type | Required | Description |
|---|
id | String | Yes | ID of the existing Storage Device Integration. |
root-path | String | No | New root folder. Must be an absolute path. |
gid | Integer | No | Custom group ID override. Provide -1 to remove the override. |
uid | Integer | No | Custom user ID override. Provide -1 to remove the override. |
curl -X POST -H "Content-Type: application/json" \
http://localhost:8080/api/v1/storage_gateway/update -d '{
"id": "<existing-connection-id>",
"root_path": "<new-root-path>",
"user_id": <new-user-id>,
"group_id": <new-group-id>
| Name | Type | Required | Description |
|---|
id | String | Yes | ID of the existing Storage Device Integration. |
root_path | String | No | New root folder. Must be an absolute path. |
group_id | Integer | No | Custom group ID override. Provide -1 to remove the override. |
user_id | Integer | No | Custom 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.