mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-24 22:39:22 +01:00
Add fields to load sensitive values from file (#7)
This commit is contained in:
@@ -78,6 +78,10 @@ func TestLoad(t *testing.T) {
|
||||
Username: "foo",
|
||||
Password: "bar",
|
||||
},
|
||||
"sensitive": {
|
||||
UsernameFile: "/run/secrets/username",
|
||||
PasswordFile: "/run/secrets/password",
|
||||
},
|
||||
},
|
||||
Providers: model.Providers{
|
||||
Docker: []model.PrdDocker{
|
||||
|
||||
Reference in New Issue
Block a user