diff --git a/changelog/unreleased/fix-policies-jwt-config.md b/changelog/unreleased/fix-policies-jwt-config.md new file mode 100644 index 0000000000..1ab77dedf8 --- /dev/null +++ b/changelog/unreleased/fix-policies-jwt-config.md @@ -0,0 +1,5 @@ +Bugfix: Fix jwt config of policies service + +Removes jwt config of policies service + +https://github.com/owncloud/ocis/pull/7893 diff --git a/services/policies/pkg/config/config.go b/services/policies/pkg/config/config.go index bf502c8c44..31a10886e1 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."`