Skip to content

AWS secret manager

Source

Project structure

├── README.md
├── helmwave.yml
└── vaules-secret.yaml

Step 1. Create next secret

aws secretsmanager create-secret --name hello/foobar --secret-string '{"foo":"bar"}'

Step 2. Create helmwave.yml

repositories:
  - name: bitnami
    url: https://charts.bitnami.com/bitnami

template:
  gomplate:
    enabled: true
    data:
      sources:
        secret:
          url:
            scheme: aws+sm
            path: 'hello/foobar'

releases:
  - name: app
    chart:
      name: bitnami/nginx
    namespace: test
    values:
      - vaules-secret.yaml

Step 3. Create vaules-secret.yaml

secret: {{ datasource "secret" }}

Step 4. Run helmwave build

You will get secret: {"foo":"bar"}

Back to top