i want to use the xoa api to monitor if i have old or too many snapshots connected to an VM, thank you for implementing the feature to your API that it is possible now. I check it via icinga and need an token which expires in 5 years or something and not after a month. when I try to create a user in the webfrontend admin user with a date 5 years or 11 month from now, it logs an error with:
too high expiresIn duration: 1956120152841
I also tried to create the user via cli:
#create timestamp for 5 years from now:
date +%s -d "5 year"
#create user token
xo-cli --createToken --allowUnauthorized --expiresIn 1831359954 localhost firstname.lastname@example.org
Authentication token created
but the expiration date of the token is only 30 days from now.
I dont want to create a new token every 30 days and reconfigure our icinga monitoring system to work with a new token, so can you please tell me how I can create a tekoen with higher age and maybe put it into the documentation, i was able to find the "--expiresIn" parameter but no info what you should put in there
cheers guys! Ringo