16736: Adds API.MaxTokenLifetime config knob.
[arvados.git] / lib / config / generated_config.go
index 8ef787771ebb9986f3b88f52ec69a6851d2eb8d2..6135e2a3c6b62057f8dbbdda7b07c9015d96cb90 100644 (file)
@@ -164,6 +164,13 @@ Clusters:
         dbname: ""
         SAMPLE: ""
     API:
+      # Limits for how long a client token created by regular users can be valid,
+      # and also is used as a default expiration policy when no expiration date is
+      # specified.
+      # Default value zero menans token expirations don't get clamped and no
+      # default expiration is set.
+      MaxTokenLifetime: 0s
+
       # Maximum size (in bytes) allowed for a single API request.  This
       # limit is published in the discovery document for use by clients.
       # Note: You must separately configure the upstream web server or