Create a dedicated rclone remote

Create a task-specific rclone WebDAV remote with a protocol- and workspace-limited key, then verify its root without exposing the saved secret.

Last reviewed

Create a separate WebDAV remote for each unattended job or trust boundary. A descriptive remote name plus a protocol- and workspace-limited API key makes the effective destination reviewable without sharing one broad credential.

Four-step workflow for creating a dedicated key, copying the WebDAV URL, configuring vendor other with user and hidden password, and listing the remote root.
Four-step workflow for creating a dedicated key, copying the WebDAV URL, configuring vendor other with user and hidden password, and listing the remote root. Open full-size screenshot.

Steps

  1. In Dosya Profile → API keys, create a key labelled for the machine and job. Choose Read only for retrieval or Full access when the job uploads, moves or deletes.
  2. Under Restrictions and expiry, allow WebDAV, pin the intended workspace and add an expiry when rotation is planned. Save the complete key once.
  3. Open that workspace’s Integrations → WebDAV and copy the entire HTTPS mount address, including mount path, encoded characters and trailing slash.
  4. Run rclone config, choose New remote, and use a unique name such as dosya-archive. Select webdav, vendor other, the copied URL, the key owner’s email, and the API key through the hidden password prompt.
  5. Keep Bearer token empty, decline advanced changes for the first test, save the remote, then run rclone config redacted dosya-archive before sharing any diagnostic.
  6. Run rclone lsf dosya-archive:. An ordinary root lists All, Documents, Videos, Images, Shared, and Deleted; an anchored key exposes its permitted folder directly.

Rclone’s obscured password in its config is reversible protection, not encryption. Restrict the config file to the job account and never paste a raw key into logs or command-line arguments.

Reference for “Create a dedicated rclone remote”: Dosya rclone overview page.
Reference for “Create a dedicated rclone remote”: Dosya rclone overview page. Open full-size screenshot.

Expected result

The named remote lists only the intended Dosya reach, uses the dedicated key owner’s email, and can perform no operation outside its key scope, protocol selection, workspace/folder pin or membership permissions.

401 Unauthorized points to the email/key pair, expiry or revocation. This API key is not permitted to use WebDAV and This role is not permitted to use WebDAV identify separate gates. A missing All can be correct for an anchored remote.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.