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: 10 months ago
JSON representation
Get config from anywhere, and export to environment
- Host: GitHub
- URL: https://github.com/thalesfsp/configurer
- Owner: thalesfsp
- License: mit
- Created: 2022-09-27T18:26:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-24T13:55:52.000Z (about 1 year ago)
- Last Synced: 2025-04-22T15:12:33.683Z (10 months ago)
- Topics: configuration, environment-variables, golang, loader, subprocess, wrapper
- Language: Go
- Homepage:
- Size: 8.92 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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).