Name an API key for its owner and purpose

Apply a searchable 64-character key name that identifies its client and purpose, then replace the credential safely when that label must change.

Last reviewed

An API-key name is a searchable label stored beside the credential. Dosya does not parse it into owner, environment, or purpose fields, and duplicate labels are allowed.

Four panels show choosing a client-purpose convention, entering a name within 64 characters, locating the masked row by search, and replacing the key when its label becomes stale.
Four panels show choosing a client-purpose convention, entering a name within 64 characters, locating the masked row by search, and replacing the key when its label becomes stale. Open full-size screenshot.

Choose a useful convention

In Profile → API keys, the New API key dialog asks What is it for? and suggests e.g. rclone backup. A practical convention is client-environment-owner or client-purpose, such as rclone-prod-ops. This is an organizational choice rather than a server-enforced format.

Steps

  1. Identify the single application, environment, and responsible team or person that will own the credential.
  2. Form a compact label with the distinguishing facts, avoiding the secret, customer data, or temporary ticket numbers.
  3. Enter it under What is it for? and keep the result within the 64-character limit.
  4. Finish permission and restriction choices, press Generate key, and store the one-time dos_… value separately from its label.
  5. Return to the API-key table and use Search name or prefix to confirm that the new row can be found unambiguously.
  6. If the label later becomes wrong, duplicate the settings into a correctly named replacement, migrate the client, and revoke the old key.

Validation and identity

The exact API errors are Name is required and Name must be 64 characters or less. The web helper says Just a label, so you can recognise it later. A name is not an authentication value and need not be unique.

The list shows a masked fingerprint and lets operators search by name or stored prefix. Existing names cannot be edited in place. Replacement creates a different secret, so revocation must wait until the client has been updated.

The account may hold at most 20 API keys, while the free plan permits 3. Expired rows still count until they are deleted.

Expected result

The row is recognizable from its label and masked fingerprint without revealing the credential, and an operator can trace it to one client before rotation or revocation.

Reference for “Name an API key for its owner and purpose”: Dosya REST API overview page with Get API Key and View SDKs links.
Reference for “Name an API key for its owner and purpose”: Dosya REST API overview page with Get API Key and View SDKs links. Open full-size screenshot.

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.