Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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}
```