XCP-NG API token
-
Is there a way to make the expiration date of the API token provided by XCP-NG infinite?
-
@yeopil21 you're probably thinking of the xen orchestra token
it can be inifinite but you can customize the duration : authentication.maxTokenValidity in your config file -
/etc/xo-server/config.toml
/opt/xen-orchestra/packages/xo-server/.xo-server.tomlWhat items should I look at in the config settings file?
-
@yeopil21
I would add a file config.tokenValidity.toml in /etc/xo-server with this content[authentication] defaultTokenValidity = '1 year' maxTokenValidity = '1 year'