What is an Auth Secret?

An Auth Secret is the private half of a Workspace-scoped Auth Key and Auth Secret pair, comparable to a password for secure automation. It must remain confidential and can be regenerated if compromised, and a Workspace can hold several active key pairs.

How Auth Secrets work

The Auth Secret is the private input used by trusted code to produce request signatures for its Workspace. The service can verify those signatures without the credential being transmitted as ordinary request data. It therefore belongs in a server-side secret store, distinct from the public Auth Key it pairs with and from short-lived signed parameters delivered to a client. Because several key pairs can coexist in one Workspace, verification is pair-specific: for example, webhook signatures must be checked with the Auth Secret belonging to the Auth Key used for that Assembly. Rotation is an operational event that must be coordinated across every signer.

Key facts

  1. Embedding the secret in browser JavaScript or a mobile binary makes it extractable; client uploads should receive server-generated signed request material instead.
  2. Regenerating a secret in place invalidates signatures created with the previous value. For a rotation without downtime, add another key pair, migrate signers, and then retire the old pair. Where required, identify the pair with its auth_key, including in signed Smart CDN URLs.
  3. Logs, error reports, and observability payloads need redaction because accidental diagnostic capture can compromise the credential even when source code is clean.

When Auth Secrets matter

Keep the Auth Secret on trusted servers and use it to sign requests without exposing it to browsers or mobile clients. Verify signatures with the secret that belongs to the Auth Key used for that request, and if a secret leaks, rotate it promptly and update every dependent integration.

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free