Enable Access and Create a Token

What is the Dekko S3 Gateway?

The Dekko S3 Gateway is a small app for Windows and Linux that lets you open your DekkoCORE hubs in apps that work with Amazon S3 storage, such as rclone or S3 Browser.

You run the gateway on your own computer and connect it to your DekkoCORE account with a token. The gateway then shows each hub you can reach as an S3 bucket, at an address on your computer. Your S3 app connects to that address with keys the gateway gives you.

This article covers what you do yourself: install the gateway, create a token in DekkoCORE, and add the token to the gateway. To connect an app afterwards, see S3 Gateway: Connect an S3 App (S3 Browser, rclone).

The steps here are for Windows. On Linux, see S3 Gateway: Set Up on Linux.

Before you start

  • Your tenancy must allow the gateway. A Tenancy Manager turns on Allow local S3 gateway in Tenancy Policies. If it is off, your S3 gateway page says that none of your hubs allows the gateway.
  • The gateway app. Download DekkoS3Gateway.zip.
  • Your passkey or password, to confirm it is you when you create the token.

Step 1: Install and start the gateway

  1. Find DekkoS3Gateway.zip on your computer (for example in Downloads). Right-click it and choose Extract All:

    Windows File Explorer showing DekkoS3Gateway-win-x64.zip in the Downloads folder.

  2. Set the destination to C:\ProgramData\DekkoS3Gateway, keep Show extracted files when complete ticked, and click Extract:

    Windows Extract dialog with the destination C:\\ProgramData\\DekkoS3Gateway.

  3. In the extracted folder, double-click DekkoS3Gateway.exe:

    Windows Explorer showing the DekkoS3Gateway folder with DekkoS3Gateway.exe selected.

  4. The gateway window opens and says No token on this computer yet. Leave it open for Step 3.

Step 2: Create a token in DekkoCORE

  1. Sign in to DekkoCORE and go to Settings → Account → S3 gateway.

    The Your tokens panel with no tokens yet and the New token button.

  2. Click New token and fill in the form:

    The New token form: Name, Access, Reaches, and the Advanced renewal period.

    Setting What to choose
    Name A name for the computer or use, for example Work Computer.
    Access: Read-only Your app can list and download files, and change nothing.
    Access: Read & write, no delete Your app can also upload files, but cannot delete them.
    Access: Read & write Your app can also delete files.
    Reaches All my hubs, or One hub to limit the token to a single hub.
    Advanced → Renewal period (days) How long the gateway's access lasts between renewals, from 1 to 365 days. The default is 30. A running gateway renews it by itself.
  3. Click Create token and confirm it is you with your passkey or password.

Choose the least access your app needs. If you only want to copy files out of DekkoCORE, choose Read-only.

Step 3: Add the token to the gateway

  1. Click Copy token. A timer shows how long you have to add it to the gateway (5 minutes):

    Your new token, with a countdown, the Copy token button and the Done button.

    The token is shown only once, and anyone who has it can reach your account. Do not email it or save it in a file. If the gateway does not pick it up in time, revoke it and create a new one.

  2. In the gateway window, paste the token into the box and click Add:

    The gateway window with the token pasted into the box and the Add button.

  3. The gateway says Ready and shows the Connection details for the token: the access key ID, secret access key, endpoint, region and the settings to choose in your S3 app. Each has a Copy button.

    The gateway window showing the Work Computer token and its connection details.

  4. Back in DekkoCORE, click Done.

You can now connect your S3 app. See S3 Gateway: Connect an S3 App (S3 Browser, rclone).

Keep the gateway running

  • Your S3 app can only reach your hubs while the gateway is running. Stop gateway stops it.
  • Tick Start with Windows to start the gateway each time you sign in to Windows.
  • To serve after a restart while nobody is signed in, the gateway can run as a Windows service. This needs a standard (non-administrator) Windows account and is usually set up by your IT team. See S3 Gateway: Back Up a Tenancy Every Night.

Manage your tokens

Your tokens are listed under Settings → Account → S3 gateway. Each shows its access level and whether a gateway is connected. Open Details to see when it was created, when the gateway picked it up, when it was last renewed, and how long its access lasts:

A token named Work Computer, Connected, with its details and the Edit and Revoke buttons.
  • Revoke a token when you no longer use it, or if you think someone else has it. Its gateway loses access.
  • Remove in the gateway window only takes the token off that computer. It does not revoke it, so revoke it in DekkoCORE too.
  • To replace a token, create a new one, add it to the gateway, and remove the old one. The keys change, so update your S3 app with the new connection details. Then revoke the old token.

Uninstall the gateway

Uninstalling the gateway does not delete any files in DekkoCORE, 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 (CORE) 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 DekkoCORE, revoke the computer's token under Settings → Account → S3 gateway.

Troubleshooting

What you see What to do
Your S3 gateway page says none of your hubs allows the gateway Ask your Tenancy Manager to turn on Allow local S3 gateway.
Your S3 gateway page says the gateway is not available for your tenancy The S3 Gateway is not on by default. Ask your DekkoCORE administrator to contact your DekkoSecure account manager.
The gateway did not accept the token It was probably added after 5 minutes. Revoke it, create a new one and add it straight away.
Your app stopped connecting after working before Check the gateway is running. Then check the token in DekkoCORE: it may have been revoked, or the tenancy policy turned off.
Your app cannot upload or delete Check the token's Access level. A Read-only token cannot change anything.
Was this article helpful?
Didn't find what you need?Ask the AI assistant about this topic, or contact support.
Request support