Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

safeprintenv

This is cli tool like printenv command but filter sensitive environment variable (e.g. AWS_SECRET_ACCESS_KEY) from output.

Install

Download latest binary from Release page.

Configure

Create ~/.config/safeprintenv/config.toml and write some settings.

It is example config.

[SensitiveList]
keys = ['ADDITIONAL_KEY']

See also config.example.toml .

Usage

$ SENSITIVE_VAR=aaa safeprintenv | grep SENSITIVE_VAR
$  # no match
$ SENSITIVE_VAR=aaa safeprintenv --unsafe-all | grep SENSITIVE_VAR
SENSITIVE_VAR=aaa
$

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages