Use old flag names for token exp and signing key
@@ -38,8 +38,8 @@ func WireTeamConnectors(group *flags.Group) {
type AuthFlags struct {
SecureCookies bool `long:"secure-cookies" description:"Force sending secure flag on http cookies"`
- Expiration time.Duration `long:"expiration" default:"24h" description:"Length of time for which tokens are valid. Afterwards, users will have to log back in."`
- SigningKey flag.PrivateKey `long:"signing-key" description:"File containing an RSA private key, used to sign auth tokens."`
+ Expiration time.Duration `long:"auth-duration" default:"24h" description:"Length of time for which tokens are valid. Afterwards, users will have to log back in."`
+ SigningKey flag.PrivateKey `long:"session-signing-key" description:"File containing an RSA private key, used to sign auth tokens."`
LocalUsers map[string]string `long:"add-local-user" description:"List of username:password combinations for all your local concourse users." value-name:"USERNAME:PASSWORD"`
}
