No commit activity in last 3 years
No release in over 3 years
Provide variables from ParameterStore to hako
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

>= 1.5.0
>= 0.2.0
 Project Readme

Hako::EnvProviders::Parameterstore

Provide variables from AWS Parameter Store to hako

Coverage Status

Installation

Add this line to your application's Gemfile:

gem 'hako-parameterstore'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hako-parameterstore

Usage

  1. Put encrypted value using AWS ParameterStore
$ aws ssm put-parameter --name encrypted.some_password  --value veryverysecret --type SecureString
$ aws ssm get-parameter --name encrypted.some_password  --with-decryption
veryverysecret
  1. Setting hako and run it
  env:
    $providers:
      - type: parameterstore
    SOME_PASSWORD: ‘#{encrypted.some_password}'
  1. A value is set for the ECS environment variable
Environment Variables
Key Value
SOME_PASSWORD   veryverysecret