Allows flags containing sensitive stuff to be passed as files (#545)

* Allows options containing sensitive stuff (passwords, tokens) to be passed as a file instead

* Fixed linter error, added tests, removed notification-url (due to being an array)
This commit is contained in:
Sebastiaan Tammer 2020-06-10 12:14:47 +02:00 committed by GitHub
parent 6da66fb312
commit 12d323354f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 92 additions and 4 deletions

1
go.mod
View file

@ -48,6 +48,7 @@ require (
github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967
github.com/sirupsen/logrus v1.4.1
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3
github.com/spf13/viper v1.4.0
github.com/stretchr/testify v1.3.0
github.com/theupdateframework/notary v0.6.1 // indirect