Programming
We provide developers and engineers the guides and tutorials they...
Search
We provide developers and engineers the guides and tutorials they...
Content is king. It's not just about how you're going to write, b...
Looking for an engaging connection with thousands of other people...
Laravel Cloud's Secrets Manager stores organisation-wide secrets, encrypted in your browser and protected with AWS KMS, then injects them at deploy time.
If you run more than a couple of Laravel apps, you know the problem. The same Stripe key, Postmark token or OpenAI key gets pasted into production, staging and three client environments. Then it needs rotating and you're hunting through dashboards hoping you didn't miss one.
Also Read: Deploy Next.js & Nuxt on Laravel Cloud With Your Laravel API - News
Laravel Cloud's Secrets Manager, released on 16 July 2026, removes that job.
Rotating a key means writing the new value in one place and redeploying the environments that use it. Your code keeps calling env('STRIPE_SECRET') or config('services.stripe.secret') as before.
This is the interesting part. Secrets are write-only:
So a teammate with dashboard access can link a secret to an environment without ever seeing it. That's useful when contractors or junior developers need to deploy but shouldn't handle production credentials.
| Environment variables | Secrets | |
|---|---|---|
| Scope | One environment | Organisation-wide, linked where needed |
| Visible after saving | Yes | Never |
| Rotation | Edit each environment | Edit once, redeploy |
| Best for | App settings (APP_URL, feature flags) | API keys, tokens, passwords |
Laravel's own deployment guide now recommends storing sensitive values as Secrets rather than plain variables.
Secrets Manager is part of a wider push on access control in 2026:
Together, they let you give people and AI agents exactly the access they need.
Can I view a secret after saving it in Laravel Cloud? No. Secrets are write-only and never shown again.
How are Laravel Cloud secrets encrypted? In the browser before submission, with organisation keys protected by AWS KMS.
How do I use a secret in my Laravel app? It arrives as a normal environment variable at deploy time, so read it with env() or through your config files.
Sources: Laravel Cloud changelog: Secrets Manager · Everything we announced at Laracon US 2026 · How to deploy a Laravel app to Cloud