Release2026-11-27

Mastra introduced encrypted secrets for all projects on its platform. Secrets are now stored as encrypted values in its key management service. They are never written as plaintext to disk, container images, logs, or deploy artifacts. Secrets are decrypted and injected into server memory only at startup. Saved secret values can no longer be read back in the dashboard or API. Existing environments will migrate in two steps: review classification, then encrypt in place. A split-token system and audited access control the decryption process. Private-registry install tokens remain an exception and are not baked into images. Unencrypted config variables still pass through as plaintext at build time.

What changed

Secrets were stored as plaintext and accessible in the UI, logs, and deploy artifacts.

What it unlocks

Storing API keys and tokens as encrypted values that are only decrypted at server startup.

What you need to act on it

  • a Mastra Platform project

Send this to someone who needs it

Shares the story and its sources. Nothing about you.

What does this mean for your job?

This is the story as everyone gets it. Once a week we send you the version written for your role — what changed, why it matters for the work you actually do, and one thing to try. Free while we tune it.