An Elixir implementation of Credstash, a system to store secrets securely using AWS infrastructure (KMS+DynoDB).
The package can be installed
by adding credstash_ex
to your list of dependencies in mix.exs
:
def deps do
[
{:credstash_ex, git: ""https://github.com/relaypro-open/credstash_ex.git, tag: "0.1.0"}
]
end
Configure your AWS credentials as specified in ex_aws
alias CredstashEx.Credstash
Credstash.put_secret("test_secret","one2three","credential-store")
Credstash.get_secret("test_secret","credential-store")
"one2three"