Add machine auth endpoint to gateway

This commit is contained in:
Ishank Arora committed 2021-10-18 09:54:23 +02:00
1 parent 26ec5f0a40
commit 0c8cbe4d4f
1 file changed
+7
+7
View File
@@ -124,6 +124,13 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"STORAGE_AUTH_BEARER_ENDPOINT"},
Destination: &cfg.Reva.AuthBearer.Endpoint,
},
&cli.StringFlag{
Name: "auth-machine-endpoint",
Value: flags.OverrideDefaultString(cfg.Reva.AuthMachine.Endpoint, "localhost:9166"),
Usage: "endpoint to use for the machine auth provider",
EnvVars: []string{"STORAGE_AUTH_MACHINE_ENDPOINT"},
Destination: &cfg.Reva.AuthMachine.Endpoint,
},
// storage registry