S3 Gateway: Connect an S3 App (Brows3, rclone)

Overview

Once the DEMS S3 Gateway is running with your token, any app that works with S3-compatible storage can open your cases. The tenancy your token reaches appears as a bucket, and your cases appear as folders in it, named by their ID #, for example D-0714-2339-2026-86. The folders and files inside a case appear as they do in DekkoDEMS.

This article shows how to connect Brows3, a desktop app for browsing, uploading and downloading files. Other S3 apps, such as Cyberduck, S3 Browser and WinSCP, also work and use the same connection details. To keep a nightly copy of a whole tenancy with rclone, see S3 Gateway: Back Up a Tenancy Every Night.

If you have not set up the gateway yet, start with S3 Gateway: Install and Create a Token.

The DEMS S3 Gateway must be running on your computer the whole time you use Brows3 or any other S3 app. The app connects to the gateway, and the gateway connects to DekkoDEMS. If the gateway is closed, the app cannot see your cases, and transfers in progress stop.

Required content tags block S3 uploads. An S3 app cannot fill in content tags. An upload through the gateway records only who uploaded it. If your organisation's policy makes any content tag Required, uploads and new folders through S3 are refused. To upload through S3, ask your DekkoDEMS administrator to make those content tags optional under Tenancy → Policies → Manage tags. Otherwise, upload in the DekkoDEMS web app, where you can fill in the tags. Downloads are not affected.

Brows3 and the other apps named here are third-party products, not made by DekkoSecure. Brows3 is free and open source (MIT licence). If you want to review its code before you install it, see Brows3 on GitHub.

Connection details

Copy every value from the gateway window, using its Copy buttons. The values are different for each computer and token.

The DEMS S3 Gateway window showing the connection details for a token, each with a Copy button.
Setting Value
Access key ID From the gateway window
Secret access key From the gateway window
Endpoint URL From the gateway window, for example http://127.0.0.1:9593
Endpoint (API endpoint) The same server and port without http://, for example 127.0.0.1:9593 (for apps that ask for it this way)
Region From the gateway window, for example ap-southeast-2
Account type S3 compatible (custom S3), not Amazon S3
Secure transfer (SSL/TLS) Off
Addressing (URL style) Path style
Signature version 4

The secret access key leaves the clipboard a minute after you copy it, so paste it straight into your app.

Secure transfer is off because your app talks to the gateway on your own computer only. The gateway encrypts your files and connects to DekkoDEMS for you.

Set up Brows3

  1. Download and install Brows3 from brows3.app.

  2. Make sure the DEMS S3 Gateway is running.

  3. Open Brows3 and add a new connection. Fill in the New Cloud Connection window:

    The Brows3 New Cloud Connection window with Custom S3 / Compatibility Mode selected and the endpoint URL, access keys and region filled in.

    • Profile Name: any name, for example dems-api.
    • Authentication Method: Custom S3 / Compatibility Mode.
    • Endpoint URL: the Endpoint URL from the gateway window, for example http://127.0.0.1:9593.
    • Access Key ID and Secret Access Key: from the gateway window.
    • Default Region: the Region from the gateway window, for example ap-southeast-2.
  4. Click Test Connection. When the test passes, click Connect Account.

Your tenancy is shown under Buckets on the left. Select it to see your cases, one folder per case ID #:

Brows3 showing the Metro CSI tenancy as the metro-csi bucket on the left and its case folders, named by case ID #, on the right.

Find a case

Type the case ID # in the search box at the top of the file list, for example D-0714-2339-2026-86, and open the case folder:

Brows3 with a case ID # typed in the search box and the case's folders and files listed below.

Download files and folders

  1. Open the case, and the folder you want to download from.

  2. Select the files and folders to download, using the check boxes.

  3. Click Download, and choose where to save them on your computer.

    The Brows3 toolbar with three items selected in a case and the Download button.

Check your storage before you download. Evidence files such as video can be very large. Choose a destination with enough free space for everything you selected.

Upload files and folders

  1. Open the case, and the folder you want to upload to.

  2. Click Upload, then choose Files or Folder.

    The Brows3 Upload menu open inside a case, showing the Files and Folder options.

  3. Select what to upload on your computer.

You can also click New Folder to add a folder inside a case, or drag files and folders into the file list.

Good to know:

  • Uploads go into an existing case. You cannot create a case through S3: create it in the DekkoDEMS web app first.
  • An upload never replaces a file. If a file with the same name is already there, the upload is refused.
  • Files uploaded through S3 carry no capture context. That is recorded only when you upload in the DekkoDEMS web app.
  • If any content tag is Required, S3 uploads are refused (see the warning at the top of this article).

Track your transfers

Brows3 lists every transfer on its Downloads and Uploads pages, in the menu on the left. For each file and folder, you can see its status (for example Completed or Failed), size, progress, speed, and when it started and finished. Use these pages to check that a large transfer finished, and to record which files were transferred.

The Brows3 Uploads page listing nine completed uploads to the metro-csi bucket with their size, progress and times.

If a transfer fails, the reason is shown under the file name. Click the retry button at the end of the row to try again, and click Clear Finished to tidy the list.

See new files

Brows3 does not update the file list by itself. Click the refresh button (the circular arrow at the top right of the file list) to see files and cases that were added in DekkoDEMS while Brows3 is open.

Deleting files

Brows3 shows a Delete button, but a DEMS token cannot delete, so the delete is refused. To delete evidence, use the DekkoDEMS web app. See Deleting and Restoring Content.

Other S3 apps

Cyberduck, S3 Browser, WinSCP and other S3-compatible apps also work with the gateway. Use the connection details above: choose the app's S3-compatible (or custom S3) account type, turn off SSL/TLS, and use path-style addressing. For very large downloads, an app that downloads each file in one stream, such as S3 Browser or Cyberduck, is fastest.

What you cannot reach through S3

  • Files shared with you below case level. If someone shared only some files or folders in a case with you, use the DekkoDEMS web app for those. Files someone shared on their own appear inside a $wrapper-… folder, and you cannot upload into those folders.
  • Creating cases and deleting files. Use the DekkoDEMS web app.

Keep your keys private

Anyone who has the access key ID and secret access key, and can reach the gateway on your computer, can open your cases with the token's access. Do not share them or paste them into documents. If you think someone has them, revoke the token in DekkoDEMS and create a new one.

Uninstall the gateway

Uninstalling the gateway does not delete any files in DekkoDEMS, or files your S3 app has copied to your computer.

If the gateway runs as a Windows service, clear Run as a Windows service in the gateway window first.

  1. Download and run the Dekko Uninstaller. It opens a window titled Dekko Apps Uninstaller.
  2. To check first what it would remove, type 2 and press Enter. Nothing is changed. Options 1 and 2 search every drive, so they can take a few minutes.
  3. Type 1 and press Enter to uninstall. If more than one Dekko app is installed, the uninstaller lists them. Type the number of Dekko S3 Gateway (DEMS) and press Enter. To remove several, type their numbers, such as 1,3, or A for all of them.
  4. Type delete and press Enter to go ahead. Anything else stops without removing anything.
  5. The uninstaller lists what it removed and shows where your files are. It does not delete them. If it offers to open that folder, type y to open it or n to skip.
  6. Type Q and press Enter to close the uninstaller.

Then, in DekkoDEMS, revoke the computer's token under Settings → S3 gateway.

Troubleshooting

What you see What to do
The app cannot connect, or Test Connection fails Check that the DEMS S3 Gateway is running and that the endpoint matches the gateway window. Check that the endpoint starts with http://, not https://.
Access denied, or a signature error Copy both keys again from the gateway window. Check the region, path-style addressing and Signature V4.
An upload or new folder fails, saying the upload requires tags that S3 cannot send Your organisation's policy has Required content tags, which an S3 app cannot fill in. Upload in the DekkoDEMS web app, or ask your DekkoDEMS administrator to make the tags optional.
An upload fails because the name is taken A file or folder with that name is already in the case. Rename your file, or upload it to another folder.
Creating a folder in the bucket fails You cannot create a case through S3. Create the case in DekkoDEMS, click refresh, then upload into it.
A delete fails DEMS tokens cannot delete. Use the DekkoDEMS web app.
A case or file is missing It may have been shared with you below case level. Use the DekkoDEMS web app. If it is new, click refresh in Brows3.
A large download fails part-way Check there is enough free space on the destination drive, and that the gateway is still running.
It worked, then stopped The gateway may have been closed, the token revoked or replaced (the keys change with each new token), or the policy turned off.

Connection details

Copy every value from the gateway window, using its Copy buttons. The values are different for each computer and token.

The DEMS S3 Gateway window showing the connection details for a token, each with a Copy button.
Setting Value
Access key ID From the gateway window
Secret access key From the gateway window
Endpoint URL From the gateway window, for example http://127.0.0.1:9593
Endpoint (API endpoint) The same server and port without http://, for example 127.0.0.1:9593 (for apps that ask for it this way)
Region From the gateway window, for example ap-southeast-2
Account type S3 compatible (custom S3), not Amazon S3
Secure transfer (SSL/TLS) Off
Addressing (URL style) Path style
Signature version 4

The secret access key leaves the clipboard a minute after you copy it, so paste it straight into your app.

Secure transfer is off because your app talks to the gateway on your own computer only. The gateway encrypts your files and connects to DekkoDEMS for you.

Set up Brows3

  1. Download and install Brows3 from brows3.app.

  2. Make sure the DEMS S3 Gateway is running.

  3. Open Brows3 and add a new connection. Fill in the New Cloud Connection window:

    The Brows3 New Cloud Connection window with Custom S3 / Compatibility Mode selected and the endpoint URL, access keys and region filled in.

    • Profile Name: any name, for example dems-api.
    • Authentication Method: Custom S3 / Compatibility Mode.
    • Endpoint URL: the Endpoint URL from the gateway window, for example http://127.0.0.1:9593.
    • Access Key ID and Secret Access Key: from the gateway window.
    • Default Region: the Region from the gateway window, for example ap-southeast-2.
  4. Click Test Connection. When the test passes, click Connect Account.

Your tenancy is shown under Buckets on the left. Select it to see your cases, one folder per case ID #:

Brows3 showing the Metro CSI tenancy as the metro-csi bucket on the left and its case folders, named by case ID #, on the right.

Find a case

Type the case ID # in the search box at the top of the file list, for example D-0714-2339-2026-86, and open the case folder:

Brows3 with a case ID # typed in the search box and the case's folders and files listed below.

Download files and folders

  1. Open the case, and the folder you want to download from.

  2. Select the files and folders to download, using the check boxes.

  3. Click Download, and choose where to save them on your computer.

    The Brows3 toolbar with three items selected in a case and the Download button.

Check your storage before you download. Evidence files such as video can be very large. Choose a destination with enough free space for everything you selected.

Upload files and folders

  1. Open the case, and the folder you want to upload to.

  2. Click Upload, then choose Files or Folder.

    The Brows3 Upload menu open inside a case, showing the Files and Folder options.

  3. Select what to upload on your computer.

You can also click New Folder to add a folder inside a case, or drag files and folders into the file list.

Good to know:

  • Uploads go into an existing case. You cannot create a case through S3: create it in the DekkoDEMS web app first.
  • An upload never replaces a file. If a file with the same name is already there, the upload is refused.
  • Files uploaded through S3 carry no capture context. That is recorded only when you upload in the DekkoDEMS web app.
  • If any content tag is Required, S3 uploads are refused (see the warning at the top of this article).

Track your transfers

Brows3 lists every transfer on its Downloads and Uploads pages, in the menu on the left. For each file and folder, you can see its status (for example Completed or Failed), size, progress, speed, and when it started and finished. Use these pages to check that a large transfer finished, and to record which files were transferred.

The Brows3 Uploads page listing nine completed uploads to the metro-csi bucket with their size, progress and times.

If a transfer fails, the reason is shown under the file name. Click the retry button at the end of the row to try again, and click Clear Finished to tidy the list.

See new files

Brows3 does not update the file list by itself. Click the refresh button (the circular arrow at the top right of the file list) to see files and cases that were added in DekkoDEMS while Brows3 is open.

Deleting files

Brows3 shows a Delete button, but a DEMS token cannot delete, so the delete is refused. To delete evidence, use the DekkoDEMS web app. See Deleting and Restoring Content.

Other S3 apps

Cyberduck, S3 Browser, WinSCP and other S3-compatible apps also work with the gateway. Use the connection details above: choose the app's S3-compatible (or custom S3) account type, turn off SSL/TLS, and use path-style addressing. For very large downloads, an app that downloads each file in one stream, such as S3 Browser or Cyberduck, is fastest.

What you cannot reach through S3

  • Files shared with you below case level. If someone shared only some files or folders in a case with you, use the DekkoDEMS web app for those. Files someone shared on their own appear inside a $wrapper-… folder, and you cannot upload into those folders.
  • Creating cases and deleting files. Use the DekkoDEMS web app.

Keep your keys private

Anyone who has the access key ID and secret access key, and can reach the gateway on your computer, can open your cases with the token's access. Do not share them or paste them into documents. If you think someone has them, revoke the token in DekkoDEMS and create a new one.

Troubleshooting

What you see What to do
The app cannot connect, or Test Connection fails Check that the DEMS S3 Gateway is running and that the endpoint matches the gateway window. Check that the endpoint starts with http://, not https://.
Access denied, or a signature error Copy both keys again from the gateway window. Check the region, path-style addressing and Signature V4.
An upload or new folder fails, saying the upload requires tags that S3 cannot send Your organisation's policy has Required content tags, which an S3 app cannot fill in. Upload in the DekkoDEMS web app, or ask your DekkoDEMS administrator to make the tags optional.
An upload fails because the name is taken A file or folder with that name is already in the case. Rename your file, or upload it to another folder.
Creating a folder in the bucket fails You cannot create a case through S3. Create the case in DekkoDEMS, click refresh, then upload into it.
A delete fails DEMS tokens cannot delete. Use the DekkoDEMS web app.
A case or file is missing It may have been shared with you below case level. Use the DekkoDEMS web app. If it is new, click refresh in Brows3.
A large download fails part-way Check there is enough free space on the destination drive, and that the gateway is still running.
It worked, then stopped The gateway may have been closed, the token revoked or replaced (the keys change with each new token), or the policy turned off.

Connection details

Copy every value from the gateway window, using its Copy buttons. The values are different for each computer and token.

The DEMS S3 Gateway window showing the connection details for a token, each with a Copy button.
Setting Value
Access key ID From the gateway window
Secret access key From the gateway window
Endpoint URL From the gateway window, for example http://127.0.0.1:9593
Endpoint (API endpoint) The same server and port without http://, for example 127.0.0.1:9593 (for apps that ask for it this way)
Region From the gateway window, for example ap-southeast-2
Account type S3 compatible (custom S3), not Amazon S3
Secure transfer (SSL/TLS) Off
Addressing (URL style) Path style
Signature version 4

The secret access key leaves the clipboard a minute after you copy it, so paste it straight into your app.

Secure transfer is off because your app talks to the gateway on your own computer only. The gateway encrypts your files and connects to DekkoDEMS for you.

Set up Brows3

  1. Download and install Brows3 from brows3.app.

  2. Make sure the DEMS S3 Gateway is running.

  3. Open Brows3 and add a new connection. Fill in the New Cloud Connection window:

    The Brows3 New Cloud Connection window with Custom S3 / Compatibility Mode selected and the endpoint URL, access keys and region filled in.

    • Profile Name: any name, for example dems-api.
    • Authentication Method: Custom S3 / Compatibility Mode.
    • Endpoint URL: the Endpoint URL from the gateway window, for example http://127.0.0.1:9593.
    • Access Key ID and Secret Access Key: from the gateway window.
    • Default Region: the Region from the gateway window, for example ap-southeast-2.
  4. Click Test Connection. When the test passes, click Connect Account.

Your tenancy is shown under Buckets on the left. Select it to see your cases, one folder per case ID #:

Brows3 showing the Metro CSI tenancy as the metro-csi bucket on the left and its case folders, named by case ID #, on the right.

Find a case

Type the case ID # in the search box at the top of the file list, for example D-0714-2339-2026-86, and open the case folder:

Brows3 with a case ID # typed in the search box and the case's folders and files listed below.

Download files and folders

  1. Open the case, and the folder you want to download from.

  2. Select the files and folders to download, using the check boxes.

  3. Click Download, and choose where to save them on your computer.

    The Brows3 toolbar with three items selected in a case and the Download button.

Check your storage before you download. Evidence files such as video can be very large. Choose a destination with enough free space for everything you selected.

Upload files and folders

  1. Open the case, and the folder you want to upload to.

  2. Click Upload, then choose Files or Folder.

    The Brows3 Upload menu open inside a case, showing the Files and Folder options.

  3. Select what to upload on your computer.

You can also click New Folder to add a folder inside a case, or drag files and folders into the file list.

Good to know:

  • Uploads go into an existing case. You cannot create a case through S3: create it in the DekkoDEMS web app first.
  • An upload never replaces a file. If a file with the same name is already there, the upload is refused.
  • Files uploaded through S3 carry no capture context. That is recorded only when you upload in the DekkoDEMS web app.
  • If any content tag is Required, S3 uploads are refused (see the warning at the top of this article).

Track your transfers

Brows3 lists every transfer on its Downloads and Uploads pages, in the menu on the left. For each file and folder, you can see its status (for example Completed or Failed), size, progress, speed, and when it started and finished. Use these pages to check that a large transfer finished, and to record which files were transferred.

The Brows3 Uploads page listing nine completed uploads to the metro-csi bucket with their size, progress and times.

If a transfer fails, the reason is shown under the file name. Click the retry button at the end of the row to try again, and click Clear Finished to tidy the list.

See new files

Brows3 does not update the file list by itself. Click the refresh button (the circular arrow at the top right of the file list) to see files and cases that were added in DekkoDEMS while Brows3 is open.

Deleting files

Brows3 shows a Delete button, but a DEMS token cannot delete, so the delete is refused. To delete evidence, use the DekkoDEMS web app. See Deleting and Restoring Content.

Set up rclone

  1. Make sure the gateway is running, and install rclone.

  2. Run rclone config file to see where rclone keeps its configuration. Add this to that file, with the values from your gateway window:

    [dems]
    type = s3
    provider = Other
    endpoint = http://127.0.0.1:9593
    region = ap-southeast-2
    force_path_style = true
    access_key_id = <Access key ID from the gateway window>
    secret_access_key = <Secret access key from the gateway window>
    

    You can also run rclone config and answer its questions with the same values: storage type s3, provider Other, and path-style addressing.

  3. Check that rclone can see your bucket:

    rclone lsd dems:
    

Common rclone commands

To do this Run
List the cases in the bucket rclone lsd dems:<bucket>
List the files in a case rclone ls dems:<bucket>/<case ID #>
Copy a case to a folder rclone copy dems:<bucket>/<case ID #> C:\Evidence\<case ID #>
Upload a folder into a case rclone copy C:\Ingest\Bodycam dems:<bucket>/<case ID #>/Bodycam
Check a local copy against a case rclone check dems:<bucket>/<case ID #> C:\Evidence\<case ID #> --one-way

Replace <bucket> with the name from rclone lsd dems:, and <case ID #> with the case's ID #.

Use rclone copy, not rclone sync or rclone move. A DEMS token cannot delete or overwrite files, so a sync or move that tries to is refused.

Other S3 apps

Cyberduck, S3 Browser, WinSCP and other S3-compatible apps also work with the gateway. Use the connection details above: choose the app's S3-compatible (or custom S3) account type, turn off SSL/TLS, and use path-style addressing. For very large downloads, an app that downloads each file in one stream, such as S3 Browser or Cyberduck, is fastest.

What you cannot reach through S3

  • Files shared with you below case level. If someone shared only some files or folders in a case with you, use the DekkoDEMS web app for those. Files someone shared on their own appear inside a $wrapper-… folder, and you cannot upload into those folders.
  • Creating cases and deleting files. Use the DekkoDEMS web app.

Keep your keys private

Anyone who has the access key ID and secret access key, and can reach the gateway on your computer, can open your cases with the token's access. Do not share them or paste them into documents. If you think someone has them, revoke the token in DekkoDEMS and create a new one.

Troubleshooting

What you see What to do
The app cannot connect, or Test Connection fails Check that the DEMS S3 Gateway is running and that the endpoint matches the gateway window. Check that the endpoint starts with http://, not https://.
Access denied, or a signature error Copy both keys again from the gateway window. Check the region, path-style addressing and Signature V4.
An upload or new folder fails, saying the upload requires tags that S3 cannot send Your organisation's policy has Required content tags, which an S3 app cannot fill in. Upload in the DekkoDEMS web app, or ask your DekkoDEMS administrator to make the tags optional.
An upload fails because the name is taken A file or folder with that name is already in the case. Rename your file, or upload it to another folder.
Creating a folder in the bucket fails You cannot create a case through S3. Create the case in DekkoDEMS, click refresh, then upload into it.
A delete fails DEMS tokens cannot delete. Use the DekkoDEMS web app.
A case or file is missing It may have been shared with you below case level. Use the DekkoDEMS web app. If it is new, click refresh in Brows3.
A large download fails part-way Check there is enough free space on the destination drive, and that the gateway is still running.
It worked, then stopped The gateway may have been closed, the token revoked or replaced (the keys change with each new token), or the policy turned off.
Was this article helpful?
Didn't find what you need?Ask the AI assistant about this topic, or contact support.
Request support