mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-27 13:39:04 +02:00
Add yaml tag to Options.Policies (#475)
This commit is contained in:
parent
6a10112ebe
commit
2d2b16566a
1 changed files with 3 additions and 3 deletions
|
@ -80,9 +80,9 @@ type Options struct {
|
||||||
IdleTimeout time.Duration `mapstructure:"timeout_idle" yaml:"timeout_idle,omitempty"`
|
IdleTimeout time.Duration `mapstructure:"timeout_idle" yaml:"timeout_idle,omitempty"`
|
||||||
|
|
||||||
// Policies define per-route configuration and access control policies.
|
// Policies define per-route configuration and access control policies.
|
||||||
Policies []Policy
|
Policies []Policy `yaml:"policy,omitempty"`
|
||||||
PolicyEnv string `yaml:",omitempty"`
|
PolicyEnv string `yaml:",omitempty"`
|
||||||
PolicyFile string `mapstructure:"policy_file" yaml:"policy_file,omitempty"`
|
PolicyFile string `mapstructure:"policy_file" yaml:"policy_file,omitempty"`
|
||||||
|
|
||||||
// AuthenticateURL represents the externally accessible http endpoints
|
// AuthenticateURL represents the externally accessible http endpoints
|
||||||
// used for authentication requests and callbacks
|
// used for authentication requests and callbacks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue