Hako::EnvProviders::Rcredstash
Provide variables from rcredstash to hako
Installation
Add this line to your application's Gemfile:
gem 'hako-rcredstash'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hako-rcredstash
Usage
- Put encrypted value using rcredstash
$ rcredstash put encrypted.some_password
secret value> veryverysecret
$ rcredstash get encrypted.some_password
veryverysecret
- Setting hako and run it
env:
$providers:
- type: rcredstash
SOME_PASSWORD: ‘#{encrypted.some_password}'
- A value is set for the ECS environment variable
Environment Variables
Key Value
SOME_PASSWORD veryverysecret