Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 980 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 980 Bytes

aws-secret-parse

  • Retrive secret and generating application's config file for every format from AWS Secret Manager
  • Image using chainguard go image with 0 CVE image

Usage & Prerequisite in k8s environment

  • Configmap, AWS Secret Manager tag key env and value as input, output is your file format you need (.env, appsetting.json)
  • Can be use as initContainer...

Eg

Input

{
    "abc": "{{ .PerfectSecret }}",
    "xyz": "{{ .FooBar }}"
}

Output

{
    "abc": "PerfectSecret_VALUE",
    "xyz": ""
}

Idea

If you looking this with helm you will need

  • Helm chart for creating configmap from template file
  • InitContainer for creating outfile under emptyDir

If you interesting with this!

"Buy Me A Coffee"