TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Kubernetes operator to sync secrets from AWS Secrets Manager

68 pointsby stefanjudisover 4 years ago

9 comments

riccardomcover 4 years ago
I am the founder of a very similar project that supports both AWS Secrets Manager and Google Secrets Manager which actually predates this and GoDaddy&#x27;s solutions[1].<p>The proliferation of these type of projects clearly shows the need for secret handling. While I think that more solutions for the same problem is not a bad thing, I also believe that we could benefit from a coordinated effort.<p>My colleagues are actively working with GoDaddy&#x27;s maintainers to find a common way forward by standardizing the &quot;ExternalSecret&quot; CRD and eventually merging the projects[2].<p>[1]<a href="https:&#x2F;&#x2F;github.com&#x2F;ContainerSolutions&#x2F;externalsecret-operator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ContainerSolutions&#x2F;externalsecret-operato...</a><p>[2]<a href="https:&#x2F;&#x2F;github.com&#x2F;godaddy&#x2F;kubernetes-external-secrets&#x2F;issues&#x2F;47" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;godaddy&#x2F;kubernetes-external-secrets&#x2F;issue...</a>
评论 #24857697 未加载
gouggougover 4 years ago
It&#x27;s worth noting that the &quot;Kubernetes External Secrets&quot;[0] project from Godaddy is now supplanted by &quot;Secret-Manager&quot;[1].<p>I&#x27;ve been using Secret-Manager and it works very well.<p>The authors of &quot;kube-secret-syncer&quot; mention &quot;[other solutions] lack either in security, caching or flexibility&quot;.<p>When it comes to &quot;secret-manager&quot;, although I can not vouch for its security, the codebase is very small and probably easily auditable.<p>It&#x27;s also very flexible. It supports &quot;SecretStores&quot;, currently AWS, GCP and Vault out of the box, and it&#x27;s easy to add more.<p>Not sure why &quot;caching&quot; is mentioned in the mix.<p>I&#x27;m surprised they decided to re-invent the wheel instead of improving secret-manager.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;godaddy&#x2F;kubernetes-external-secrets" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;godaddy&#x2F;kubernetes-external-secrets</a><p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;itscontained&#x2F;secret-manager" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;itscontained&#x2F;secret-manager</a>
评论 #24856113 未加载
评论 #24863806 未加载
cbanekover 4 years ago
Kind of a different problem, but I&#x27;ve had really good experience with using Hashicorp&#x27;s vault, which is excellent, paired with the vault-secrets-operator for kubernetes to do my secrets management. It will sync secrets from a vault path and create a kubernetes secret that you can use like any other secret. At least this way I feel like there&#x27;s less lockin to a cloud provider (and some of the places I run this have on-prem kubernetes, so I have to have something that works outside of the cloud, and sometimes without internet).<p><a href="https:&#x2F;&#x2F;www.vaultproject.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.vaultproject.io&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;ricoberger&#x2F;vault-secrets-operator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ricoberger&#x2F;vault-secrets-operator</a>
Keunicover 4 years ago
The entire Kubernetes secret space is a bit immature with no standard solutions. Many of the larger solutions are vendor specific and don&#x27;t solve the problem in a generic way, see AWS[1] or Vault[2][3].<p>I&#x27;ve been discussing the problem-space with the Godaddy External Secret maintainers and they seem a bit burnt-out. There is work on standardization here <a href="https:&#x2F;&#x2F;github.com&#x2F;godaddy&#x2F;kubernetes-external-secrets&#x2F;pull&#x2F;477" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;godaddy&#x2F;kubernetes-external-secrets&#x2F;pull&#x2F;...</a>, but this more covers creating Kubernetes Secrets from external sources, work still remains around a generic pod injector solution.<p>A few of us have started work on what the implementation of this would look like over at <a href="https:&#x2F;&#x2F;github.com&#x2F;itscontained&#x2F;secret-manager" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;itscontained&#x2F;secret-manager</a>.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;mumoshu&#x2F;aws-secret-operator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mumoshu&#x2F;aws-secret-operator</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;hashicorp&#x2F;vault-k8s" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hashicorp&#x2F;vault-k8s</a><p>[3] <a href="https:&#x2F;&#x2F;banzaicloud.com&#x2F;blog&#x2F;inject-secrets-into-pods-vault-revisited&#x2F;" rel="nofollow">https:&#x2F;&#x2F;banzaicloud.com&#x2F;blog&#x2F;inject-secrets-into-pods-vault-...</a>
thehermitover 4 years ago
I&#x27;m looking into this myself and ran across what looks to be a more &quot;official&quot; tool for this [1]. Kubernetes is a fast moving ecosystem and using random OSS operators has bit us in the past.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;kubernetes-sigs&#x2F;secrets-store-csi-driver" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kubernetes-sigs&#x2F;secrets-store-csi-driver</a>
hurricaneSliderover 4 years ago
If you&#x27;re looking for a gitops alternative that can make use of AWS KMS, Azure KeyVault and Google Cloud KMS, would highly recommend kamus (<a href="https:&#x2F;&#x2F;kamus.soluto.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kamus.soluto.io&#x2F;</a>). Allows secrets to be safely managed in source control and also has an AES mode ideal for local development.
acamilloover 4 years ago
I wrote this[1] operator over one year ago to learn some Go lang.<p>The project is a Kubernetes operator that automatically creates and updates Kubernetes secrets according to what is stored in AWS Secrets Manager (SM). A custom resource, named AWSSecret, maps an AWS SM entry to a K8S Secret resource.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;acamillo&#x2F;aws-secret-operator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;acamillo&#x2F;aws-secret-operator</a>
wdbover 4 years ago
Interesting, wondering if it&#x27;s portable to make work with Google Secrets Manager
评论 #24856099 未加载
评论 #24857346 未加载
nukerover 4 years ago
Just switch from kube to ECS already, if you&#x27;re in AWS. Much better integration and support.
评论 #24858366 未加载
评论 #24856620 未加载
评论 #24857856 未加载