diff --git a/cache/infra_config b/cache/infra_config new file mode 160000 index 0000000..8ce431a --- /dev/null +++ b/cache/infra_config @@ -0,0 +1 @@ +Subproject commit 8ce431afb48d26ec31cada2545b100a3d3e4c6da diff --git a/service/service.go b/service/service.go index b13969b..feb84d5 100644 --- a/service/service.go +++ b/service/service.go @@ -2,6 +2,7 @@ package service import ( "context" + "path/filepath" "sync" "time" @@ -62,7 +63,7 @@ func Initialise(ctx context.Context, c Config) (app *App, err error) { } app.vault.SetToken(c.VaultToken) - _, err = app.vault.Logical().List("/secret/metadata") + _, err = app.vault.Logical().List(filepath.Join("/secret", c.VaultPath, "metadata")) if err != nil { return nil, errors.Wrap(err, "failed to ping secrets metadata endpoint") }