Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plaidev/gcpsecretmanager2env
A cli tool that parses env file, fetch secrets from gcp secret manager, and substitutes them.
https://github.com/plaidev/gcpsecretmanager2env
envfile gcp secretmanager
Last synced: 28 minutes ago
JSON representation
A cli tool that parses env file, fetch secrets from gcp secret manager, and substitutes them.
- Host: GitHub
- URL: https://github.com/plaidev/gcpsecretmanager2env
- Owner: plaidev
- License: mit
- Created: 2023-04-13T08:04:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T21:37:50.000Z (over 1 year ago)
- Last Synced: 2025-01-09T23:28:02.716Z (3 days ago)
- Topics: envfile, gcp, secretmanager
- Language: Go
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gcpsecretmanager2env
A cli tool that parses env file, fetch secrets from gcp secret manager, and substitutes them.
## Example
./.env
```env
AN_ENV_FROM_SECRET_MANAGER=projects//secrets//versions/1
```command
```
gcpsecretmanager2env -output ./.output.env ./.env
```./.output.env
```
AN_ENV_FROM_SECRET_MANAGER=''
```## Usage
```
Usage: gcpsecretmanager2env [OPTIONS]
Note: is a required positional argument.
-credential string
gcp credential file. it will see GOOGLE_APPLICATION_CREDENTIALS when it's not set
-help
show help
-output string
output file
-remove-whitespace
remove whitespaces {\n,\t}
```