All Projects → Shopify → ejson2env

Shopify / ejson2env

Licence: MIT license
Decrypt EJSON secrets and export them as environment variables.

Programming Languages

go
31211 projects - #10 most used programming language
ruby
36898 projects - #4 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to ejson2env

ubuntu-1804
🔵 Curso GRÁTIS Linux Ubuntu Server 18.04.x LTS - REPOSITÓRIO CONGELADO - Esse repositório não irá mais receber atualizações. Novo repositório: vaamonde/ubuntu-2004
Stars: ✭ 99 (+125%)
Mutual labels:  shell-scripting
vonuvoli-scheme
vonuvoli Scheme -- an R7RS interpreter written in Rust focused on systems programming and scripting (i.e. processes, file-system, etc.) with performance and safety in mind
Stars: ✭ 81 (+84.09%)
Mutual labels:  shell-scripting
fabula
Minimalist server scripts.
Stars: ✭ 53 (+20.45%)
Mutual labels:  shell-scripting
shellescape
Escape arbitrary strings for use as command line arguments
Stars: ✭ 120 (+172.73%)
Mutual labels:  shell-scripting
CombinedPrivacyBlockLists
Ad-blocking hosts files, IP block lists, PAC filters, and ABP / uBO subscriptions, all merged from multiple reputable sources, combined with my own research. Also, script-based utilities to help you create such things yourself. Updated at least once a week, often more frequently.
Stars: ✭ 131 (+197.73%)
Mutual labels:  shell-scripting
courses
Notes for classes/lectures
Stars: ✭ 14 (-68.18%)
Mutual labels:  shell-scripting
Babashka
Native, fast starting Clojure interpreter for scripting
Stars: ✭ 2,462 (+5495.45%)
Mutual labels:  shell-scripting
Script
Making it easy to write shell-like scripts in Go
Stars: ✭ 1,946 (+4322.73%)
Mutual labels:  shell-scripting
smoosh
The Symbolic, Mechanized, Observable, Operational SHell: an executable formalization of the POSIX shell standard.
Stars: ✭ 86 (+95.45%)
Mutual labels:  shell-scripting
ubuntu-2004
🔵 Curso GRÁTIS de GNU/Linux Ubuntu Server 20.04.x LTS - DevOps utilizando Shell Script
Stars: ✭ 70 (+59.09%)
Mutual labels:  shell-scripting
furipota
(unmaintained) A discrete FRP DSL for describing better build pipelines.
Stars: ✭ 22 (-50%)
Mutual labels:  shell-scripting
HackerRank-LinuxShell
HackerRank-LinuxShell Solutions 💻
Stars: ✭ 26 (-40.91%)
Mutual labels:  shell-scripting
datatools
A set of tools for working with JSON, CSV and Excel workbooks
Stars: ✭ 68 (+54.55%)
Mutual labels:  shell-scripting
BashConfig
BASH configuration files.
Stars: ✭ 46 (+4.55%)
Mutual labels:  shell-scripting
AutoBrew
AutoBrew: Homebrew deployments made easy
Stars: ✭ 71 (+61.36%)
Mutual labels:  shell-scripting

Build Status Go Report Card

ejson2env

ejson2env is a tool to simplify storing secrets that should be accessible in the shell environment in your git repo. ejson2env is based on the ejson library and extends the ejson file format.

ejson2env exports all of the values in the environment object in the ejson file to the shell environment.

For example, with the below ejson file:

{
    "_public_key": "<public key here>",
    "environment": {
        "SECRET_SHELL_VARIABLE": "<encrypted data>"
    }
}

Running:

$ ejson2env test.ejson

Would result in the following output:

export SECRET_SHELL_VARIABLE=<decrypted data>

You can then have your shell evaluate this output:

$ eval $(ejson2env test.ejson)

Using ejson2env

ejson2env's usage information is described in it's included manual page.

Installing ejson2env

ejson2env is available through a number of different routes and package managers. If you plan on modifying ejson2env, it is suggested that you install via go get.

Go

ejson2env can be installed using the regular go install tool:

$ go install github.com/Shopify/ejson2env/v2/cmd/ejson2env@latest

You can then find the compiled binary in $GOPATH/bin

Debian Package

You can download the latest version of the Debian package from the releases page.

Install the downloaded package by calling:

$ dpkg -i ejson2env_1.0.3_amd64.deb

RubyGems

You can install ejson2env using Ruby's Gem tool:

$ gem install ejson2env

Homebrew

Provided your install of Homebrew is configured to pull from Shopify's Homebrew repo, you can install ejson2env by calling:

$ brew install ejson2env

Contributing

Please review the Contributing document if you are interested in helping improve ejson2env!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].