From b8af9fe60f27353bdd5933ed37508b30d4290046 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Sun, 5 Jun 2016 22:18:24 +0100 Subject: Add AWS S3 and Google GCS virtual filesystems. This allows the signing key to be read directly from S3 using a path like /s3// or /gcs//. --- cmd/cashierd/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd') diff --git a/cmd/cashierd/main.go b/cmd/cashierd/main.go index 1b1035c..9a162d7 100644 --- a/cmd/cashierd/main.go +++ b/cmd/cashierd/main.go @@ -24,6 +24,7 @@ import ( "github.com/nsheridan/cashier/server/auth/github" "github.com/nsheridan/cashier/server/auth/google" "github.com/nsheridan/cashier/server/config" + "github.com/nsheridan/cashier/server/fs" "github.com/nsheridan/cashier/server/signer" "github.com/nsheridan/cashier/templates" ) @@ -199,6 +200,7 @@ func main() { if err != nil { log.Fatal(err) } + fs.Register(&config.AWS) signer, err := signer.New(config.SSH) if err != nil { log.Fatal(err) -- cgit v1.2.3