Skip to content

Commit

Permalink
set auth settings to required
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Oct 22, 2023
1 parent 91af3e1 commit 71effe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ type (
Url string `long:"myuplink.url" env:"MYUPLINK_URL" description:"Url to myUplink API" default:"https://api.myuplink.com"`

Auth struct {
ClientID string `long:"myuplink.auth.clientid" env:"MYUPLINK_AUTH_CLIENTID" description:"ClientID from myUplink"`
ClientSecret string `long:"myuplink.auth.clientsecret" env:"MYUPLINK_AUTH_CLIENTSECRET" description:"ClientSecret from myUplink" json:"-"`
ClientID string `long:"myuplink.auth.clientid" env:"MYUPLINK_AUTH_CLIENTID" description:"ClientID from myUplink" required:"yes"`
ClientSecret string `long:"myuplink.auth.clientsecret" env:"MYUPLINK_AUTH_CLIENTSECRET" description:"ClientSecret from myUplink" json:"-" required:"yes"`
}
}

Expand Down

0 comments on commit 71effe2

Please sign in to comment.