Hello, guys!!
I'm trying to execute an API token on RUNDECK version 3.1.0.
Recently I've found out that I will have to change the TOKEN each period of time. If I create a token today I will have to change it in 30 days.
Does anyone know if I can fix it permanently on RUNDECK version 3.1.0 ?? Can anyone help me?
(sorry about my English, I'm brazilian)
Hi @Muriloalgar2019
You can set the following configuration in your rundeck-config.properties file:
rundeck.api.tokens.duration.max=0
And restart Rundeck service.
More info here:
https://docs.rundeck.com/docs/administration/configuration/config-file-reference.html#security
Alternately you can define tokens in a static file, by setting the rundeck.tokens.file in framework.properties.
Check this here:
https://docs.rundeck.com/docs/api/rundeck-api.html#token-authentication
For support issues please visit https://groups.google.com/forum/#!forum/rundeck-discuss (until Nov 01, 2019) or post at https://stackoverflow.com/questions/tagged/rundeck
Hope it helps!
Yess. It works! I did not know that configuration.
Thanks for your help @MegaDrive68k
Most helpful comment
Hi @Muriloalgar2019
You can set the following configuration in your rundeck-config.properties file:
rundeck.api.tokens.duration.max=0And restart Rundeck service.
More info here:
https://docs.rundeck.com/docs/administration/configuration/config-file-reference.html#security
Alternately you can define tokens in a static file, by setting the rundeck.tokens.file in framework.properties.
Check this here:
https://docs.rundeck.com/docs/api/rundeck-api.html#token-authentication
For support issues please visit https://groups.google.com/forum/#!forum/rundeck-discuss (until Nov 01, 2019) or post at https://stackoverflow.com/questions/tagged/rundeck
Hope it helps!