Merge branch '16736-max-token-lifetime'
[arvados.git] / lib / config / config.default.yml
index c644de3741923bfc90bcf7371cfcac7265bcb95f..6f72c02c1f048c5f9a1910f7e6a1d645776f9767 100644 (file)
@@ -158,6 +158,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 means 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