Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thalesfsp/configurer

Get config from anywhere, and export to environment
https://github.com/thalesfsp/configurer

configuration environment-variables golang loader subprocess wrapper

Last synced: 8 days ago
JSON representation

Get config from anywhere, and export to environment

Awesome Lists containing this project

README

        

# configurer

`configurer` loads secret into env vars from different providers. Run `configurer l -h` to see the list of available providers.

## Install

### CLI

Setting target destination:

`curl -s https://raw.githubusercontent.com/thalesfsp/configurer/main/resources/install.sh | BIN_DIR=ABSOLUTE_DIR_PATH sh`

Setting version:

`curl -s https://raw.githubusercontent.com/thalesfsp/configurer/main/resources/install.sh | VERSION=v{M.M.P} sh`

Example:

`curl -s https://raw.githubusercontent.com/thalesfsp/configurer/main/resources/install.sh | BIN_DIR=/usr/local/bin VERSION=v1.3.17 sh`

### Programmatically

Install dependency:

`go get -u github.com/thalesfsp/configurer`

## Usage

### CLI

See the `example` section by running `configurer l v --help`

### Programmatically

See [`dotenv/example_test.go`](dotenv/example_test.go)

### Documentation

Run `$ make doc` or check out [online](https://pkg.go.dev/github.com/thalesfsp/configurer).

## Development

Check out [CONTRIBUTION](CONTRIBUTION.md).

### Release

1. Update [CHANGELOG](CHANGELOG.md) accordingly.
2. Once changes from MR are merged.
3. Tag. Don't need to create a release, it's automatically created by CI.

## Roadmap

Check out [CHANGELOG](CHANGELOG.md).