Browse Source

chore: add note about units to expire config

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
pull/1846/head
m.nabokikh 5 years ago
parent
commit
beb8911cf7
  1. 5
      examples/config-dev.yaml

5
examples/config-dev.yaml

@ -73,14 +73,15 @@ telemetry:
# tlsClientCA: examples/grpc-client/ca.crt # tlsClientCA: examples/grpc-client/ca.crt
# Uncomment this block to enable configuration for the expiration time durations. # Uncomment this block to enable configuration for the expiration time durations.
# Is possible to specify units using only s, m and h suffixes.
# expiry: # expiry:
# deviceRequests: "5m" # deviceRequests: "5m"
# signingKeys: "6h" # signingKeys: "6h"
# idTokens: "24h" # idTokens: "24h"
# refreshTokens: # refreshTokens:
# reuseInterval: "3s" # reuseInterval: "3s"
# validIfNotUsedFor: "2190h" # validIfNotUsedFor: "2160h" # 90 days
# absoluteLifetime: "5000h" # absoluteLifetime: "3960h" # 165 days
# Options for controlling the logger. # Options for controlling the logger.
# logger: # logger:

Loading…
Cancel
Save