https://github.com/hungran/aws-secret-parse
initContainer for generating config file
https://github.com/hungran/aws-secret-parse
aws devops secrets-manager
Last synced: 23 days ago
JSON representation
initContainer for generating config file
- Host: GitHub
- URL: https://github.com/hungran/aws-secret-parse
- Owner: hungran
- License: apache-2.0
- Created: 2023-03-31T17:47:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-13T15:13:39.000Z (7 months ago)
- Last Synced: 2025-07-13T17:23:20.921Z (7 months ago)
- Topics: aws, devops, secrets-manager
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
Awesome Lists containing this project
README
# 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

## 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
```json
{
"abc": "{{ .PerfectSecret }}",
"xyz": "{{ .FooBar }}"
}
```
Output
```json
{
"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!
[](https://www.buymeacoffee.com/hungran91)