Files
QSfera/services/search/pkg/config/reva.go
T
2023-08-22 17:25:24 +02:00

12 lines
405 B
Go

package config
// Reva defines all available REVA configuration.
type Reva struct {
Address string `ocisConfig:"address" env:"OCIS_REVA_GATEWAY" desc:"The CS3 gateway endpoint."`
}
// TokenManager is the config for using the reva token manager
type TokenManager struct {
JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;SEARCH_JWT_SECRET" desc:"The secret to mint and validate jwt tokens."`
}