Radiator Server Documentation — v10.33.4

cache

Cache action for storing values in a configured cache

Table of Contents
  • cache
  • Syntax
  • Action result

cache

The cache action stores one or more values under a key in a configured cache. The stored values can be read from AAA context as cache.<cache-name>[<key>].

Syntax

cache {
    cache "CACHE_NAME";
    key aaa.identity;
    value vars.group;
    timeout 5m;
}
ParameterRequiredDescription
cacheYesName of the configured cache to update.
keyYesCache key expression.
valueYesValue expression to store. Multiple value statements are rejected. To store multiple values, use list syntax, for example value [vars.group, vars.role];
timeoutNoOptional duration override for this write. If omitted, a configured cache default timeout is used.

Action result

The cache action stores cache values and preserves the previous action result.

Table of Contents
Navigation
  • accept

  • append

  • assert

  • backend

  • cache

  • challenge

  • chap

  • conditions

  • copy

  • count

  • debug

  • discard

  • EAP

  • error

  • filter

  • hotp

  • http-basic-auth

  • if

  • ignore

  • invoke

  • log

  • map

  • message

  • modify

  • mschap

  • mschapv2

  • must

  • pap

  • reason

  • reject

  • reject_errors

  • replace

  • reply

  • rewrite

  • set

  • sleep

  • sometimes

  • stop

  • totp

  • trace

  • try

  • until

  • yubikey