DEV Community
•
2026-04-29 16:06
AWS CDK + Clef: Secrets that work the way you might expect in IaC
A ~10-minute, copy-paste tutorial that takes you from an empty directory to a fully working Clef setup, then deploys the production secrets to AWS Secrets Manager via the @clef-sh/cdk constructs.
By the end, you'll have:
A clef.yaml with two namespaces (database, payments) across two environments (dev, production)
All four matrix cells populated with demo secrets, encrypted with SOPS
A service...