Home / Companies / Codefresh / Blog / Post Details
Content Deep Dive

Securing Credentials for GitOps Deployments with AWS Secrets Manager and Codefresh

Blog post from Codefresh

Post Details
Company
Date Published
Author
Laurent Rochette
Word Count
1,188
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

GitOps is a set of best practices that extend Infrastructure As Code (IAC) by using Git as the source of truth for Kubernetes configuration, driving tools like Argo CD, Flux, and the Codefresh deployment platform. A key challenge in adopting GitOps in Kubernetes environments is secret management, as traditional practices keep secrets in external systems such as Hashicorp Vault, conflicting with GitOps' principle of storing everything in Git. This article explores how to inject secrets from AWS Secrets Manager into Codefresh/Argo CD applications using the Argo CD Vault Plugin, which allows fetching secrets from various backends including AWS Secrets Manager. The process involves installing the Vault plugin in a Codefresh runtime, modifying configuration files, and linking Kubernetes secrets with AWS secrets, ensuring they are dynamically updated without being hardcoded in Git. While Argo CD doesn’t automatically update secrets from AWS, solutions like cron jobs can refresh them regularly. The article emphasizes that the described setup is durable through Codefresh runtime updates and highlights alternative methods for secret management, such as the External Secret Operator, which can autonomously refresh secrets.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 34 758 106 56 -11%
Kubernetes 15 1,739 185 74 +0%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.