Sha256: cea77661e573001e96134f8de2d3035d649feab699e0c87a7aae02c8681bc038
Contents?: true
Size: 956 Bytes
Versions: 1
Compression:
Stored size: 956 Bytes
Contents
# Encrypted enironment [![CircleCI](https://circleci.com/gh/pepibumur/encrypted-environment.svg?style=svg)](https://circleci.com/gh/pepibumur/encrypted-environment) [![codecov](https://codecov.io/gh/pepibumur/encrypted-environment/branch/master/graph/badge.svg)](https://codecov.io/gh/pepibumur/encrypted-environment) [![Gem Version](https://badge.fury.io/rb/encrypted-environment.svg)](https://badge.fury.io/rb/encrypted-environment) Ruby utility to load encrypted variables into the environment ## Install 1. Add the following line to the Gemfile: ``` gem "encrypted-environment", git: "git@github.com:pepibumur/encrypted-environment.git" ``` 2. Run `bundle install` ## Usage ```ruby require "encrypted/environment" Encrypted::Environment.load_from_ejson( "path/to/env.ejson", secrets_path: "secrets", private_key: "key" ) Encrypted::Environment.encrypt_ejson( "path/to/env.ejson", secrets_path: "secrets", private_key: "key" ) ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
encrypted-environment-0.2.0 | README.md |