Skip to main content

Security FAQs

How Ditto's developer credentials work, what they can access, and how to manage them safely.

šŸ’” For setup steps, see Ditto’s developer hub


What can an API key access?

Ditto’s API key grants access to all data in your workspace, including project, library components, variant, variable, and style guides. Keys are not scoped to individual projects or to read-only access, and they can perform delete operations as well as reads and writes.

A key is also a bearer credential: anyone who has the value can use it, and its access isn't limited to the person who created it.

šŸ’” Treat an API key as a workspace-wide credential with full read and write access


Do API keys expire?

No. An API key stays valid until you revoke it. There's no automatic expiry and no forced rotation.


How do I revoke an API key?

  1. Go to the Developers page in the web app

  2. Find the key under API Keys

  3. Open the … menu and click Revoke key


How do I rotate an API key?

Since API keys don't expire, rotate them on a schedule your internal credential policy requires.

  1. Create a new API key on the Developers page

  2. Update your pipelines, agents, and CLI configuration to use the new key

  3. Confirm your integrations are working

  4. Revoke the old key

šŸ’” Use a separate key per integration or environment so you can rotate one without disrupting the others.


Can I restrict API access to specific IP addresses?

Ditto does not currently support IP allowlisting. API requests are authenticated by key alone and accepted from any source address.

Did this answer your question?