narenaryan / whispr

A multi-vault secret injection tool for safely injecting secrets into app environment
MIT License
97 stars 1 forks source link

feat(ISSUE-2): Add secure flag (no_env) to pass secrets as args instead of env #12

Closed narenaryan closed 2 weeks ago

narenaryan commented 2 weeks ago

Description

The current mode only supports passing secrets fetched as environment variables. There is another secure way to pass secrets & sensitive info via STDIN args.

env_file: .env
secret_name: nyell-db-creds
vault: aws
no_env: true

and this will use ARGS instead of environment. This is much secure way.

coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 11656818606

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/whispr/cli.py 0 2 0.0%
src/whispr/utils.py 0 8 0.0%
<!-- Total: 0 10 0.0% -->
Files with Coverage Reduction New Missed Lines %
src/whispr/utils.py 1 0.0%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 11632122495: -0.8%
Covered Lines: 68
Relevant Lines: 222

💛 - Coveralls