Configuring the Lifetime of REST API Tokens
The lifetime of REST API tokens is limited and is 10 years by default. This is governed by
the parameter REST_TOKEN_LIFETIME
in the file
/etc/netrounds/netrounds.conf
.
If you intend to use the REST API, you might need to change the value of this parameter to whatever is required in your case.
Note:
In connection with an upgrade, you need to set the desired lifetime value for existing
tokens prior to running the ncc migrate
command.