From fb4213e75f0c5b8e49adae621bd2f3c5c04b0f05 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 6 Dec 2023 09:49:13 +0100 Subject: [PATCH] remove jwt config from policies after #7672 --- services/policies/pkg/config/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/policies/pkg/config/config.go b/services/policies/pkg/config/config.go index bf502c8c4..31a10886e 100644 --- a/services/policies/pkg/config/config.go +++ b/services/policies/pkg/config/config.go @@ -34,11 +34,6 @@ type GRPC struct { TLS *shared.GRPCServiceTLS `yaml:"tls"` } -// TokenManager is the config for using the reva token manager -type TokenManager struct { - JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;POLICIES_JWT_SECRET" desc:"The secret to mint and validate jwt tokens."` -} - // Engine configures the policy engine. type Engine struct { Timeout time.Duration `yaml:"timeout" env:"POLICIES_ENGINE_TIMEOUT" desc:"Sets the timeout the rego expression evaluation can take. Rules default to deny if the timeout was reached. See the Environment Variable Types description for more details."`