github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/dev/local/authn_config.sh (about) 1 cat > "$AIS_AUTHN_CONF_DIR/authn.json" <<EOL 2 { 3 "log": { 4 "dir": "$AIS_AUTHN_LOG_DIR", 5 "level": "${AIS_AUTHN_LOG_LEVEL:-3}" 6 }, 7 "net": { 8 "http": { 9 "port": ${AIS_AUTHN_PORT:-52001}, 10 "use_https": ${AIS_AUTHN_USE_HTTPS:-false}, 11 "server_crt": "${AIS_SERVER_CRT:-server.crt}", 12 "server_key": "${AIS_SERVER_KEY:-server.key}" 13 } 14 }, 15 "auth": { 16 "secret": "$AIS_SECRET_KEY", 17 "expiration_time": "${AIS_AUTHN_TTL:-24h}" 18 }, 19 "timeout": { 20 "default_timeout": "30s" 21 } 22 } 23 EOL 24