github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/cmd/authn/test/config.in (about) 1 // RUN authn 2 echo "/tmp/auth-token.$RANDOM.adm" > /tmp/e2e.admin.rand 3 tf=`cat /tmp/e2e.admin.rand`; ais auth login admin -p admin -f $tf // IGNORE 4 AIS_AUTHN_TOKEN_FILE=`cat /tmp/e2e.admin.rand` ais auth show config auth.e 5 AIS_AUTHN_TOKEN_FILE=`cat /tmp/e2e.admin.rand` ais auth set config auth.expiration_time 30m 6 AIS_AUTHN_TOKEN_FILE=`cat /tmp/e2e.admin.rand` ais auth show config auth.e 7 AIS_AUTHN_TOKEN_FILE=`cat /tmp/e2e.admin.rand` ais auth set config auth.expiration_time 24h 8 AIS_AUTHN_TOKEN_FILE=`cat /tmp/e2e.admin.rand` ais auth show config auth.e 9 10 rm /tmp/e2e.admin.rand