From 0ee29e31ddcc81f541de7459b0a5e40dfa552672 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 19 Nov 2021 19:54:49 +0100 Subject: Working on SFTP --- config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config.go') diff --git a/config.go b/config.go index 002f317..b660e68 100644 --- a/config.go +++ b/config.go @@ -14,6 +14,7 @@ type Config struct { UserNameAttr string `env:"BAGAGE_LDAP_USERNAME_ATTR" default:"cn"` Endpoint string `env:"BAGAGE_S3_ENDPOINT" default:"garage.deuxfleurs.fr"` UseSSL bool `env:"BAGAGE_S3_SSL" default:"true"` + SSHKey string `env:"BAGAGE_SSH_KEY" default:"id_rsa"` } func (c *Config) LoadWithDefault() *Config { -- cgit v1.2.3